Metadata-Version: 2.1
Name: flask-pie
Version: 0.1.0
Summary: Web API for NLP tagger PIE
Home-page: https://github.com/ponteineptique/flask_pie
Author: Thibault Clérice
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Requires-Dist: flask
Requires-Dist: regex
Requires-Dist: nlp-pie (<=0.3.0)
Requires-Dist: pie-extended (<=0.1.0)


# pie-flask
Flask API for Pie

## How to use :

You can retrieve a Blueprint by using the following code

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

controller = PieController(
    tagger=get_tagger("fro"),
    get_iterator_and_processor=get_iterator_and_processor,
    path="fro"
)


```

