Skip to main content

Create FastAPI App (cfa)

Create and manage FastAPI applications

Quick Tour

Follow these steps to set up a FastAPI project. See the documentation for more details.

Installation

This is a pip package. Thus, the only thing you need to do, is to run:

pip install create-fastapi-app

Usage

To create a new applications at a directory ~/my_fastapi_dir, run:

cfa create ~/my_fastapi_dir

Options

Auth

You can choose from three auth setups:

  • none - no auth (default)

  • self - self-managed auth

    cfa create ~/my_fastapi_dir --auth=self
    

    Will create a users table and auth mechanisms for authorizing requests

  • backend - auth managed by other backend

    cfa create ~/my_fastapi_dir --auth=backend
    

    Will create a logic for authorizing requests via external backend API. Remember to set the BACKEND_URL env var, as well as the GET_USER_BY_TOKEN_ENDPOINT env variable.

    When trying to authorize, by default the app will call an endpoint at http://{BACKEND_URL}/{GET_USER_BY_TOKEN_ENDPOINT}/{token}. Make sure to have this endpoint and it returns a user object (with name, surname, email, etc)

Metadata

Release files for create-fastapi-app 0.4.4

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

Source distribution (sdist)

Source distribution for create-fastapi-app 0.4.4
File Size Uploaded Provenance Actions
create-fastapi-app-0.4.4.tar.gz 47.5 kB Without provenance Details for create-fastapi-app-0.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for create-fastapi-app 0.4.4
File Interpreter ABI Platform Actions
create_fastapi_app-0.4.4-py3-none-any.whl Python 3 none any Details for create_fastapi_app-0.4.4-py3-none-any.whl

Total release size: 105.0 kB

Release files / create-fastapi-app-0.4.4.tar.gz

Download URL create-fastapi-app-0.4.4.tar.gz
Size 47.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4f9f109e7f1b6a4aed7310c6450f9f1645531e0f4e4ea1b8162a1c1faab673a
BLAKE2b-256 checksum
How to use checksums
fe001fc8cf92753e55bc831d640753751a8fb28658c3336e4f3446552d2b7486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / create_fastapi_app-0.4.4-py3-none-any.whl

Download URL create_fastapi_app-0.4.4-py3-none-any.whl
Size 57.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdd8c15774d1f64349ad37b39df100dd09d172d562f2f3193ea0518aaec500cb
BLAKE2b-256 checksum
How to use checksums
b957c01754b6527bd4ea3c99eb3dd7d73feafad519a8c830f5dffe91c2689556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for create-fastapi-app 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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