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
- click
- pandas
- databases
Command
# generate main app
fastapi main
# generate main app with orm
fastapi orm db_host db_name db_user db_pswd
# only generate orm
fastapi orm --only db_host db_name db_user db_pswd
fastapi orm localhost test test test
fastapi orm --mode t
# generate sub app
fastapi sub app-name
# generate api from sub app / if app not exist, create it.
fastapi api app-name api-name
# run fastapi app
uvicorn app.main:app --reload
Version
- 0.5.1
- fix error import auth headers
- 0.5.0
- update more tortoise orm
- use more template code
- 0.4.0
- support tortoise orm with mode t
- 0.3.7
- add param is_only_orm
- 0.3.6
- add orm generate
- 0.3.5
- update command with click
- 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
Metadata
Release files for fastapi-generator 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi_generator-0.5.1.tar.gz | 11.3 kB | Without provenance | Details for fastapi_generator-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_generator-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for fastapi_generator-0.5.1-py3-none-any.whl |
Total release size: 26.9 kB
Release files / fastapi_generator-0.5.1.tar.gz
| Download URL | fastapi_generator-0.5.1.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba826bd401fb327f20cfc307850b8d2e0df5a3ad19cbe0ccf89e0f2a4d4c71e5
|
|
BLAKE2b-256 checksum How to use checksums |
d181eadcbd4bf441587c2da719561c3a55ab887d912d7b7d0a09e2699d78ea07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Release files / fastapi_generator-0.5.1-py3-none-any.whl
| Download URL | fastapi_generator-0.5.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3f1f70efc19c7595d35372b77ad7b7a83dbcd09ba2623f00c23cd72e0ecad9f
|
|
BLAKE2b-256 checksum How to use checksums |
d11d1c7f1ea1a56a5d03b84e8690e8b535705dabfd72175b949553486b96f4f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Security for fastapi-generator 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.