Skip to content

This library provides python Flask utilities and static assets for rendering Wikimedia UI.

License

Notifications You must be signed in to change notification settings

wiki-ai/flask-wikimediaui

Repository files navigation

This library provides python Flask utilities and static assets for rendering Wikimedia UI.

Example

from flask import Flask, render_template

from flask_wikimediaui import build_static_blueprint

app = Flask(__name__)


@app.route('/')
def root():
    # This template uses assets from WikimediaUI
    return render_template("index.html")

# Adds static assets for wikimedia-ui to path
app.register_blueprint(build_static_blueprint("wikimediaui", __name__))

app.run(port=8080, debug=True)

About

This library provides python Flask utilities and static assets for rendering Wikimedia UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published