This is a sample Python API that can be used to deploy a simple machine learning model.
It uses
- Strawberry GraphQL to define the API
- Flask to serve the API
- Docker to containerize the API
- Poetry to manage dependencies
- Pytest to run tests
- Black to format the code
- mypy to type check the code
- pre-commit to run the above tools before each commit
- flake8 to lint the code
- isort to sort imports