serve ez/dz/de bee via FastAPI rest
Project description
dezbee-rest
Serve [de|ez|dz]bee via FastAPI port 6666
python 3.8 only
Pre-install
- fasttext
pip install fasttext
(linux) orpip install fasttext*whl
(Windows)
- pycld2, PyICU
- e.g.
poetry run pip install pycld2-0.41-cp38-cp38-win_amd64.wh PyICU-2.9-cp38-cp38-win_amd64.whl
- e.g.
- polyglot fix:
poetry run pip install -U git+https://github.com/aboSamoor/polyglot.git@master
orpip install artifects\polyglot-16.7.4.tar.gz
(modified cloned polyglot: futures removed from requirements.txt)
- scikit-learn (for deprecated sklearn used in some packages) and pybind11 (for Windows)
Refer to workflows
Install it
pip install dezrest
# pip install git+https://github.com/ffreemt/dezbee-rest
# poetry add git+https://github.com/ffreemt/dezbee-rest
# git clone https://github.com/ffreemt/dezbee-rest && cd dezbee-rest
Use it
# sart the server at port 5555 via `uvicorn` with 2 workers
python -m dezrest
# docs
http://127.0.0.1:5555/docs
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
dezrest-0.1.0a0.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for dezrest-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1f85ea1133bac369d19c2c5836f601f372e53bc647b635df5940e7a2c6cbc6 |
|
MD5 | 185945e66a696e3c421df21225218077 |
|
BLAKE2b-256 | 6bd79703862e9566285787b1f26d0a835c2b74111c3a99c6f00a15dad982bbe8 |