https://github.com/ani717/api-template-python
A Python based API Template built on FastAPI framework for ML and AI applications.
https://github.com/ani717/api-template-python
api fastapi http-server machine-learning pytest python uvicorn
Last synced: about 2 months ago
JSON representation
A Python based API Template built on FastAPI framework for ML and AI applications.
- Host: GitHub
- URL: https://github.com/ani717/api-template-python
- Owner: ANI717
- License: mit
- Created: 2023-10-27T10:21:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T08:19:32.000Z (over 2 years ago)
- Last Synced: 2025-01-12T00:32:57.057Z (over 1 year ago)
- Topics: api, fastapi, http-server, machine-learning, pytest, python, uvicorn
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API-Template-Python
A Python based API Template built on FastAPI framework for ML and AI applications.
## Set Environment (Anaconda)
```
conda create -n api python=3.11.5
conda activate api
cd API-Template-Python
pip install -r .\requirements.txt
```
## Run API
```
cd API-Template-Python\src
uvicorn main:app
```
## Test & Coverage
```
cd API-Template-Python
pytest --cov=src
```
## Terminate All Python Processses
```
taskkill /f /im python.exe
```