Generate FastAPI
A code generation tool for FastAPI
Uses nymann/fastapi-template as a base template.
Generates route(s) given an SQL migration file or JSON (see examples).
$ generate_fastapi --help
Usage: generate_fastapi [OPTIONS] FILE
Arguments:
FILE Path to a SQL upgrade migration or a JSON file [required]
Options:
--target-directory TEXT Path to the target directory [default: .]
--project-name TEXT Your project name fx. 'my_program'
[required]
--from_repo TEXT
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
generate_fastapi-0.1.3.tar.gz
(16.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file generate_fastapi-0.1.3.tar.gz.
File metadata
- Download URL: generate_fastapi-0.1.3.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c3f889369ef3f1b5acfc6a7a38ca42ae2256c3a0815d6ff26d6ee3dd3bd19e
|
|
| MD5 |
cb99d5fd961d8d81911e0ae98332f35f
|
|
| BLAKE2b-256 |
89269ea4a037003493ef5dfec9c166fa4cfb53c6483e99be42c0de662986fd2b
|
File details
Details for the file generate_fastapi-0.1.3-py3-none-any.whl.
File metadata
- Download URL: generate_fastapi-0.1.3-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df49cb5acab5a0b286605015c0d7b3b496d62d5ace9b053c209e29d60fee4ae
|
|
| MD5 |
2daafc760709eaa8643c53ec01e5f095
|
|
| BLAKE2b-256 |
73ca05613689d49454285269e3f0d3431c3fcad8a9e0e6e2f17092e397ba532a
|