Skip to main content

Fastgen - FastAPI Project Generator & Scaffolder. Create production-ready FastAPI projects with modern features.

Project description

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:

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!

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

fastapi_project_starter-1.2.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_project_starter-1.2.0-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_project_starter-1.2.0.tar.gz.

File metadata

  • Download URL: fastapi_project_starter-1.2.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fastapi_project_starter-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8d21e1daa5a8950f1918590157c4e7241db77d09c9b2408abfd697f381df3976
MD5 86c15707951b1ea361d974153a2e1f34
BLAKE2b-256 30f659f120eb014c39039457a205e7b2a7d83187344d644b75d9eaae8b7e684e

See more details on using hashes here.

File details

Details for the file fastapi_project_starter-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_project_starter-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b520ce235037c913b03435d8dbb58a807c9dca6d3fbb3a684ff003889326724
MD5 a40f401c305a42f7d9eae50619550e27
BLAKE2b-256 c0c6caf33be4cd2a3bc24794516c2d6d9c5fd5f4a76d3954ab1b0eb5125b3329

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page