Skip to main content

Generate FastAPI

A code generation tool for FastAPI

Codecov GitHub contributors

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.

Metadata

Release files for generate-fastapi 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for generate-fastapi 0.1.3
File Size Uploaded
generate_fastapi-0.1.3.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for generate-fastapi 0.1.3
File Interpreter ABI Platform
generate_fastapi-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 53.8 kB

Release files / generate_fastapi-0.1.3.tar.gz

Download URL generate_fastapi-0.1.3.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b5c3f889369ef3f1b5acfc6a7a38ca42ae2256c3a0815d6ff26d6ee3dd3bd19e
BLAKE2b-256 checksum
How to use checksums
89269ea4a037003493ef5dfec9c166fa4cfb53c6483e99be42c0de662986fd2b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / generate_fastapi-0.1.3-py3-none-any.whl

Download URL generate_fastapi-0.1.3-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4df49cb5acab5a0b286605015c0d7b3b496d62d5ace9b053c209e29d60fee4ae
BLAKE2b-256 checksum
How to use checksums
73ca05613689d49454285269e3f0d3431c3fcad8a9e0e6e2f17092e397ba532a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page