A CLI tool to generate FastAPI project boilerplates
Project description
FastAPI Boilerplate CLI
⚡ A simple CLI tool to generate FastAPI project boilerplates with best practices.
Installation
uv tool install fastapi-boilerplate-cli
Usage
Create a new FastAPI project
fastapi-boilerplate create my-awesome-api
Navigate to your project
cd my-awesome-api
Install dependencies
uv pip install -r requirements.txt
or
uv add -r requirements.txt
Run the server
uvicorn main:app --reload
Visit http://localhost:8000/docs for interactive API documentation!
What Gets Generated
- ✅ FastAPI app with router-based architecture
- ✅ Health check endpoint
- ✅ Pydantic schemas for data validation
- ✅ Configuration management with environment variables
- ✅ Project structure following best practices
- ✅ Ready for
uvandruff
Features
- 🚀 Zero external dependencies (pure Python standard library)
- 📦 Generates production-ready FastAPI structure
- 🎯 Simple and intuitive CLI
- 🔧 Includes configuration templates
- 📚 Well-documented generated code
Commands
fastapi-boilerplate create <project-name> # Create new project
fastapi-boilerplate --help # Show help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_boilerplate_cli-0.1.1.tar.gz.
File metadata
- Download URL: fastapi_boilerplate_cli-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19b9185a1521ce9ce8c01ab33abe2ddfd794588fa7b0008ff58344b3c70dbd72
|
|
| MD5 |
e1e20f2597eec8222f0c40b98be3d717
|
|
| BLAKE2b-256 |
5b7ca6dd20e9d07f7df867d3a03eac3259ce96ca820d24584386cf87341ca4e1
|
File details
Details for the file fastapi_boilerplate_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fastapi_boilerplate_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ae6cd3ca4dd875001e99f2912897b0b2fa89a3a42b94b9b7dc55f2ba21176ba
|
|
| MD5 |
1b2cbaa09e9484ccd63cfd8a452f55d4
|
|
| BLAKE2b-256 |
3e14f652e1c5590e571e61abb00a81e64076d11c3ecee2dffcd793db9fb2d250
|