Used to quickly generate fastapi project.
Project description
Document
Description
- This project is used to quickly generate fastapi project.
Flow for Main App
- run main app command
- config config.py db or set in environment
Requirements
- python 3.8
Command
# generate main app
python -m fastapi_generator.main
# run fastapi app
uvicorn app.main:app --reload
# generate sub app
python -m fastapi_generator.sub app-name
# generate api from sub app / if app not exist, create it.
python -m fastapi_generator.api app-name api-name
Version
- 0.3
- generate api of sub app.
- 0.2.1
- generate sub app with auto load api
- 0.2
- generate sub app
- 0.1.3
- auto load sub app
- 0.1.2
- write main app project files
- 0.1.1
- generate with orm
- 0.1
- generate base app: can run it!
- 0.0.2
- create main app files
- 0.0.1
- only create app/main.py
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
fastapi_generator-0.3.4.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_generator-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffd53b2b8e9a2602ec5d24304628efd943144195a1a8edfe8363c4fabcc67c6 |
|
MD5 | e60bd22980e29d067de055f0fc4b9ce2 |
|
BLAKE2b-256 | 59ea4f64cc1b557ac50233412fc0adfdbda823a96c97e39990557e9e59ed81a6 |