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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: generate_fastapi-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 84151de80d22f71bfa28a7f602c51ed5cd4ffcca02e1f71544bc5acaff0186ee
MD5 1da8898dbe1445674ff3295abdc552f7
BLAKE2b-256 48decb8204f0a0be61d70bf50a5359df936c5dbee536da10356aebad438b4cfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generate_fastapi-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1745bc2a081129c58523990b40083170974681974e66eafdb952da342dbe58
MD5 2b0ab48fa7eb88cdb5efe61d93df7009
BLAKE2b-256 10de2462c8fe540a21c7dd59c8eac35e42520a4fceebf5bb0f7a75ea4f1d0c71

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