Managing FastAPI projects made easy
Documentation: View it on website
Source Code: View it on Github
Installation: pip install manage-fastapi
๐
Features -
Creates customizable project boilerplate.
-
Creates customizable app boilerplate.
-
Handles the project structing for you.
-
Get fancy information about your Pydantic models.
-
Running development server.
Starting a new project
๐
Example folder structure with two commands manage-fastapi startproject fastproject
manage-fastapi startapp v1
fastproject/
โโโ __init__.py
โโโ main.py
โโโ core
โย ย โโโ models
โย ย โย ย โโโ database.py
โย ย โย ย โโโ __init__.py
โย ย โโโ schemas
โย ย โย ย โโโ __init__.py
โย ย โย ย โโโ schema.py
โย ย โโโ settings.py
โโโ tests
โย ย โโโ __init__.py
โย ย โโโ v1
โย ย โโโ __init__.py
โย ย โโโ test_v1.py
โโโ v1
โโโ api.py
โโโ endpoints
โย ย โโโ endpoint.py
โย ย โโโ __init__.py
โโโ __init__.py
Getting information about our Pydantic models.
manage-fastapi showmodels
With this command we are getting a fancy output of our models.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ item.py โ
โ ------- โ
โ ItemBase โ
โ ItemCreate โ
โ ItemUpdate โ
โ ItemInDBBase โ
โ Item โ
โ ItemInDB โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ token.py โ
โ -------- โ
โ Token โ
โ TokenPayload โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐
Installation pip install manage-fastapi
๐ฃ
Release Notes Latest Changes
0.1.52
- Temporary fix for Path issue when running with uvicorn
0.1.51
- Little update on API template
0.1.5
- Added showmodels
- Added runserver
- Fix little bugs
- Update docs
0.1.41
- Quick fix for a little bug
0.1.4
- Changed project architecture
- Increased travis tests
0.1.3
- Make database optional
- Now Manage FastAPI has support for MongoDB, PostgreSQL, SQLite, MySQL, Tortoise ORM
0.1.2
- Add tests
- Fix and relocate success message
- Add travis
0.1.1
- Added documentation
- Fixed typos
- Additional response for successfuly creation.
0.1.0
- Prototype of project with two functionalities.
License
This project is licensed under the terms of the MIT license.