Fast-API has seen a steady growth of users, as written from their site - "FastAPIis a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints".. And as more and more users have long running tasks which are accessed via API's in python, there is a chance they will be considering fast-apis.
This document will provide a short instruction on how to install it on your docker-file.
You woud just need ti add the package as seen below and rebuild your environment.
pip install --user "fastapi[all]"
or add !pip install --user "fastapi[all]" to a cell in a Jupyter notebook.
You can also add them on your requirement.txt and should look like the one below
fastapi>=0.68.0,<0.69.0
pydantic>=1.8.0,<2.0.0
uvicorn>=0.15.0,<0.16.0
After this you should be set.
**SEE**
Comments
0 comments
Please sign in to leave a comment.