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

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.

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
```