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)
```
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask-wikimediaui-0.0.1.tar.gz.
File metadata
- Download URL: flask-wikimediaui-0.0.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f15e5f271146cb55f55a81dd8862d5db2aa4282e094a497149802b442dc8e9b
|
|
| MD5 |
0b4abcc27e1059bf6c3763b71376a312
|
|
| BLAKE2b-256 |
6bdcd11b70a2f1544fd8a4fd13b05013719904d3a3ef588bf321bea794f212df
|
File details
Details for the file flask_wikimediaui-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: flask_wikimediaui-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8e1c8a96b04d086719555abdff1f4a55d94b68d033da84fea01ca4f1ca9d7de
|
|
| MD5 |
10ecc67143829c112294d2ba74f863d9
|
|
| BLAKE2b-256 |
50b1219d367c4ef1d92d4c762ac10c3c6ce56e7586c8b92a178440bf055c401b
|