A pet project for deploying machine learning API using FastAPI and GCP Stack.
The struture of the project and its configuration is forked from here
Install the required packages in your local environment (ideally virtualenv, conda, etc.).
pip install -r requirements
- Start your app with:
uvicorn aomori.main:app
-
Go to http://localhost:8000/docs.
-
Click
Authorize
and enter the API key as stated in the .env.
If you're not using tox
, please install with:
pip install tox
Run your tests with:
tox
This runs tests and coverage for Python 3.6 and Flake8, Autopep8, Bandit.