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.
- Host: GitHub
- URL: https://github.com/ani717/ani717_api_template
- Owner: ANI717
- License: mit
- Created: 2022-05-01T17:11:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T05:16:13.000Z (about 4 years ago)
- Last Synced: 2025-03-01T10:42:51.415Z (over 1 year ago)
- Topics: api, deep-learning, fastapi, machine-learning, python, python3
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```