Skip to main content

FastAPI Project Starter

A powerful CLI tool for generating production-ready FastAPI projects with modern features and best practices.

PyPI version Python Support License: MIT

✨ Features

  • Database Support - PostgreSQL + SQLAlchemy + Alembic migrations with async or sync support
  • Authentication - JWT tokens + bcrypt + user management endpoints
  • Background Tasks - Celery + Redis + task monitoring with Flower
  • Advanced Logging - Loguru + structured logging + log rotation
  • Docker Ready - Complete containerization with docker-compose setup
  • Modern Python - Type hints, Pydantic v2, Python 3.8+ support

Installation

  pip install fastapi-project-starter

Quick Start

Interactive Mode (Recommended)

  fastapi_generator new create my_test_app -i

Usage

  fastapi_generator [COMMAND] [OPTIONS]

  Commands:
    new       Create a new FastAPI project
    version   Show current version

  Options:
    --help    Show help for the CLI or any subcommand

After Generation

Navigate and setup:

   cd project_name
   make install
   make dev           # Build the docker containers
   make migrate       # Run initial migrations

Access your API:

  • API: http://localhost:8000
  • Docs: http://localhost:8000/docs
  • Flower: http://localhost:5555
  • Mailpit: http://localhost:8025
  • Traefik Dashboard: http://localhost:8080

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.


FastAPI Project Starter - From zero to production-ready FastAPI in seconds!

Metadata

Release files for fastapi-project-starter 1.2.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 fastapi-project-starter 1.2.0
File Size Uploaded
fastapi_project_starter-1.2.0.tar.gz 27.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-project-starter 1.2.0
File Interpreter ABI Platform
fastapi_project_starter-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 74.5 kB

Release files / fastapi_project_starter-1.2.0.tar.gz

Download URL fastapi_project_starter-1.2.0.tar.gz
Size 27.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8d21e1daa5a8950f1918590157c4e7241db77d09c9b2408abfd697f381df3976
BLAKE2b-256 checksum
How to use checksums
30f659f120eb014c39039457a205e7b2a7d83187344d644b75d9eaae8b7e684e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / fastapi_project_starter-1.2.0-py3-none-any.whl

Download URL fastapi_project_starter-1.2.0-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b520ce235037c913b03435d8dbb58a807c9dca6d3fbb3a684ff003889326724
BLAKE2b-256 checksum
How to use checksums
c0c6caf33be4cd2a3bc24794516c2d6d9c5fd5f4a76d3954ab1b0eb5125b3329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

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