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.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

generate_fastapi-0.1.2-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file generate_fastapi-0.1.2.tar.gz.

File metadata

  • Download URL: generate_fastapi-0.1.2.tar.gz
  • Upload date:
  • Size: 9.1 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.2.tar.gz
Algorithm Hash digest
SHA256 e5b8cf2f40e122f9a2edce9b982bdd3d4d61c2df1eb61205239fe8822f8be873
MD5 bc3567a86c678cf85bcf8120c537f4c4
BLAKE2b-256 5650da4359fab900bdf63ed19389bbe9aa4d29249aeefc1645d732dae224bd5c

See more details on using hashes here.

File details

Details for the file generate_fastapi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: generate_fastapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2824e611daf58e9ea030665f80dd90a82b5a57893a106dc873423369a7eb7a
MD5 de9f476b7b072beaaed52ef49da3938f
BLAKE2b-256 6af7ad376edc015f3c55fa18be468654a676dbe22ffec6d274b746f5a38eb8cb

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