Skip to main content

REST API for generate_fastapi

Project description

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.

Project details


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)

Uploaded Source

Built Distribution

generate_fastapi-0.1.3-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

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

Hashes for generate_fastapi-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b5c3f889369ef3f1b5acfc6a7a38ca42ae2256c3a0815d6ff26d6ee3dd3bd19e
MD5 cb99d5fd961d8d81911e0ae98332f35f
BLAKE2b-256 89269ea4a037003493ef5dfec9c166fa4cfb53c6483e99be42c0de662986fd2b

See more details on using hashes here.

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

Hashes for generate_fastapi-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4df49cb5acab5a0b286605015c0d7b3b496d62d5ace9b053c209e29d60fee4ae
MD5 2daafc760709eaa8643c53ec01e5f095
BLAKE2b-256 73ca05613689d49454285269e3f0d3431c3fcad8a9e0e6e2f17092e397ba532a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page