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

https://github.com/jordanmarcelino/copier-fastapi-ml

Template for creating ML API with FastAPI & SQLModel
https://github.com/jordanmarcelino/copier-fastapi-ml

boilerplate boilerplate-template copier-python fastapi fastapi-template python starter starter-template

Last synced: 10 months ago
JSON representation

Template for creating ML API with FastAPI & SQLModel

Awesome Lists containing this project

README

          

# FastAPI Template

_FastAPI Template for your machine learning project._

## Requirements to use the template:

- Python 3.9+
- [Copier python package](https://copier.readthedocs.io/en/stable/)
- [Poetry python package](https://python-poetry.org/)

```bash
$ pip install copier
$ pip install poetry
```

or

```bash
$ conda install copier
$ conda install poetry
```

## To start a new project, run:

```bash
copier copy https://github.com/JordanMarcelino/copier-fastapi-ml . --trust
```

## Installing development requirements

```bash
poetry install
```

## Running the tests

```bash
pytest -v
```