Managing FastAPI projects made easy.
Project description
Managing FastAPI projects made easy
Documentation: View it on website
Source Code: View it on Github
Installation: pip install manage-fastapi
Features :rocket:
-
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 :open_file_folder:
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 :pushpin:
pip install manage-fastapi
Release Notes :mega:
Latest Changes
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
manage-fastapi-0.1.5.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for manage_fastapi-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6c575340e9a6b6b429c6d0f067d7ff4ce777c5d41f8cd4385c81c4040cccc3e |
|
MD5 | 4f83c2734b3e8b37ef14233b49167b95 |
|
BLAKE2b-256 | 154afb26a182895089ce5bbf98026fe52421a3b5afc24a70386e45e2d818d8f2 |