mirror of
https://github.com/ycd/manage-fastapi.git
synced 2021-11-08 01:34:39 +03:00
3.1 KiB
3.1 KiB
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.
Example folder structure 📦
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
License
This project is licensed under the terms of the MIT license.