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 details)

Uploaded Source

Built Distribution

flask_wikimediaui-0.0.1-py2.py3-none-any.whl (2.5 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file flask-wikimediaui-0.0.1.tar.gz.

File metadata

File hashes

Hashes for flask-wikimediaui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5f15e5f271146cb55f55a81dd8862d5db2aa4282e094a497149802b442dc8e9b
MD5 0b4abcc27e1059bf6c3763b71376a312
BLAKE2b-256 6bdcd11b70a2f1544fd8a4fd13b05013719904d3a3ef588bf321bea794f212df

See more details on using hashes here.

File details

Details for the file flask_wikimediaui-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flask_wikimediaui-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f8e1c8a96b04d086719555abdff1f4a55d94b68d033da84fea01ca4f1ca9d7de
MD5 10ecc67143829c112294d2ba74f863d9
BLAKE2b-256 50b1219d367c4ef1d92d4c762ac10c3c6ce56e7586c8b92a178440bf055c401b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page