Skip to main content

StartFast

PyPI version Python 3.8+ License: MIT

A CLI tool that generates production-ready FastAPI project structures. Saves you from setting up the same boilerplate every time you start a new API project.

pip install startfast
startfast my-api
cd my-api
uvicorn app.main:app --reload

Why?

Setting up a new FastAPI project always takes the same couple hours: configuring the database, setting up authentication, organizing the folder structure, adding Docker files, configuring tests. This tool does all of that for you.

What you get

my-api/
├── app/
│   ├── main.py              # FastAPI application
│   ├── core/
│   │   ├── config.py        # Environment configuration
│   │   └── security.py      # JWT auth + password hashing
│   ├── api/v1/              # API routes
│   ├── models/              # Database models  
│   ├── schemas/             # Pydantic schemas
│   └── services/            # Business logic
├── tests/                   # pytest test suite
├── Dockerfile
├── docker-compose.yml
└── requirements.txt

The generated project includes:

  • Async FastAPI setup with proper project structure
  • PostgreSQL with async SQLAlchemy (or SQLite/MySQL/MongoDB)
  • JWT authentication and user management
  • Docker and docker-compose configuration
  • pytest with test fixtures
  • Environment-based configuration
  • CORS, error handling, and health check endpoints

Installation

pip install startfast

Requires Python 3.8 or higher.

Usage

Basic usage:

startfast my-api

With options:

# Use SQLite instead of PostgreSQL
startfast my-app --db sqlite

# Minimal setup for quick prototypes
startfast my-app --minimal

Database options

--db postgres    # Default
--db sqlite      # For development/prototyping
--db mysql       # If you need MySQL
--db mongo       # For document storage

Authentication options

--auth jwt       # Default - JWT tokens
--auth oauth2    # OAuth2 with scopes
--auth api-key   # Simple API key auth
--auth none      # No authentication

Contributing

Pull requests are welcome. The project structure is pretty straightforward:

git clone https://github.com/Incognitol07/startfast.git
cd startfast
pip install -e ".[dev]"

License

MIT

Metadata

Release files for startfast 1.0.0

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

Source distribution (sdist)

Source distribution for startfast 1.0.0
File Size Uploaded Provenance Actions
startfast-1.0.0.tar.gz 33.7 kB Without provenance Details for startfast-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for startfast 1.0.0
File Interpreter ABI Platform Actions
startfast-1.0.0-py3-none-any.whl Python 3 none any Details for startfast-1.0.0-py3-none-any.whl

Total release size: 74.1 kB

Release files / startfast-1.0.0.tar.gz

Download URL startfast-1.0.0.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e76d10506cb488d4397e1d973684c67716257f6d58be05bb302773ac2dd65f90
BLAKE2b-256 checksum
How to use checksums
07f60890a1b550cf36159471aa1fb7702f625d9802abfa296392abb71ce22b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / startfast-1.0.0-py3-none-any.whl

Download URL startfast-1.0.0-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
082f285fb5cdf4f28022baf68238def254e601313a5ff16d5c7cb9aba4843d1b
BLAKE2b-256 checksum
How to use checksums
052fbee1da8f7c7d0da5c5bfc159c135d10b40388c1fb8ca8da5f70b6159bb89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for startfast 1.0.0

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