An open API service indexing awesome lists of open source software.

https://github.com/ani717/ani717_api_template

A Python Fast API Template for Machine Learning Applications to Receive HTTP POST Request and Respond Accordingly.
https://github.com/ani717/ani717_api_template

api deep-learning fastapi machine-learning python python3

Last synced: 3 months ago
JSON representation

A Python Fast API Template for Machine Learning Applications to Receive HTTP POST Request and Respond Accordingly.

Awesome Lists containing this project

README

          


ANI717 API Template


A Python Fast API Template for Machine Learning Applications to Receive HTTP POST Request and Respond Accordingly.

## Clone the Repo and Install Dependencies
Python Required >= 3.9.7
```
git clone https://github.com/ANI717/ANI717_API_Template.git
cd ANI717_API_Template
pip install --upgrade pip
pip install .
```
## Run the API
```
uvicorn ani717_api_template.main:app
```
#### [Swagger UI](http://127.0.0.1:8000/docs)
#### [Redoc](http://127.0.0.1:8000/redoc)
## Test the API
```
pytest -v
```
## Generate Coverage Report
```
pytest --cov
```