FastAPI Project Starter
A powerful CLI tool for generating production-ready FastAPI projects with modern features and best practices.
✨ 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi_project_starter-1.2.0.tar.gz | 27.9 kB | Without provenance | Details for fastapi_project_starter-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_project_starter-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for fastapi_project_starter-1.2.0-py3-none-any.whl |
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
|
Security for fastapi-project-starter 1.2.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.