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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: generate_fastapi-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1835dd4c0c44e6fafe992020e88aebc5deec479466ca272c928e7a66a56b1370
MD5 228a5f763cb3c6d070e37e2f0b6db392
BLAKE2b-256 c31248d09ab0ebf7015328a1e6198b10d0a569a5ec07a78f98de5d24c57921a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: generate_fastapi-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0baa6fb720a16d4177bc94654fd1d449b22fffe8fdb45c757c487f2b5f1597ee
MD5 3e93900565f1bf5c2a8484ae3c3e1a0f
BLAKE2b-256 39bd3c06821023b83e46d8c1bfd8e10de1402e470b2213944e88a07ebc8159ef

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