pie-flask
Flask API for Pie
How to use :
You can retrieve a Blueprint by using the following code
from flask import Flask
from flask_pie import PieController
from pie_extended.models.fro import get_iterator_and_processor
from pie_extended.cli.sub import get_tagger
app = Flask(__name__)
fro_controller = PieController(
tagger=get_tagger("fro"),
get_iterator_and_processor=get_iterator_and_processor,
path="/fro"
)
fro_controller.init_app(app)
if __name__ == "__main__":
app.run()
Metadata
Release files for flask-pie 0.1.2
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_pie-0.1.2.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_pie-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.4 kB
Release files / flask_pie-0.1.2.tar.gz
| Download URL | flask_pie-0.1.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
396b51b6cc709325dfd94b547b15cf51f6cbda3311be245b0e6f2ac87341be84
|
|
BLAKE2b-256 checksum How to use checksums |
0cf655bc467c8a9dda5ed7ebf362119e601e92886a79940956f89e12b78cb460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.8
|
Release files / flask_pie-0.1.2-py2.py3-none-any.whl
| Download URL | flask_pie-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
04af8cf249be6c6ce9069707c360e73671e5cfb8252eb92dfb2fd30a340ec16c
|
|
BLAKE2b-256 checksum How to use checksums |
f56e6bbc3cbc749b94c3aacc7799ca3728f8643e9ea82ebb467aa5f0d451f25e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.8
|