This library provides python Flask utilities and static assets for rendering
OOJS-UI.
# Example
```python
from flask import Flask, render_template
from flask_oojsui import build_static_blueprint
app = Flask(__name__)
@app.route('/')
def root():
# This template uses assets from OOJS-UI
return render_template("index.html")
# Adds static assets for OOJS-UI to path
app.register_blueprint(build_static_blueprint("oojsui", __name__))
app.run(port=8080, debug=True)
```
OOJS-UI.
# Example
```python
from flask import Flask, render_template
from flask_oojsui import build_static_blueprint
app = Flask(__name__)
@app.route('/')
def root():
# This template uses assets from OOJS-UI
return render_template("index.html")
# Adds static assets for OOJS-UI to path
app.register_blueprint(build_static_blueprint("oojsui", __name__))
app.run(port=8080, debug=True)
```
Metadata
Release files for flask-oojsui 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask-oojsui-0.0.3.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_oojsui-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 5.1 MB
Release files / flask-oojsui-0.0.3.tar.gz
| Download URL | flask-oojsui-0.0.3.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c63b5a92dd03d873487f92e98dd1b2ddfe5acfd29254429494cf7e5f97289e4f
|
|
BLAKE2b-256 checksum How to use checksums |
9d8dd849cd1a1073d2ca8112d133bbada577af8398a8994d54e84f045f8f0713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_oojsui-0.0.3-py2.py3-none-any.whl
| Download URL | flask_oojsui-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b41db452a7536b0ec494c8ca57fba6e1d0d5cca33e65d1f37c7ee3250c079f83
|
|
BLAKE2b-256 checksum How to use checksums |
f5c64d247aae8d7cbdc228d877d91741df88dfef64a1d7c03dddb2e5f60a7fc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |