Skip to main content

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

Project description

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

# Example

```python
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)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-wikimediaui-0.0.1.tar.gz (2.4 MB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page