FastAPI Project Gen8 is a lightweight command-line tool designed to generate clean, structured, production-ready FastAPI project scaffolds at warp speed
Project description
FastAPI Gen8
FastAPI Project Gen8 is a lightweight command-line tool designed to generate clean, structured, production-ready FastAPI project scaffolds at warp speed.
███████╗ █████╗ ███████╗████████╗ █████╗ ██████╗ ██╗
██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██║
█████╗ ███████║███████╗ ██║ ███████║██████╔╝██║
██╔══╝ ██╔══██║╚════██║ ██║ ██╔══██║██ ██║
██║ ██║ ██║███████║ ██║ ██║ ██║██║ ║██║
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚╝╚╝
██████╗ ██████╗ ██████╗ ███████╗███████╗ ██████ ████████╗
██╔══██╗██╔══██╗██╔═══██╗ ════██╗██╔════╝██╔════╝ ╚══██╔══╝
██████╔╝██████╔╝██║ ██║ ██║█████╗ ██║ ██║
██╔═══╝ ██╔══██╗██║ ██║███ ██║██╔══╝ ██║ ██║
██║ ██║ ██║╚██████╔╝██████╔╝███████╗╚██████╗ ██║
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝
██████╗ ███████╗███╗ ██╗███████╗ █████╗
██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗
██║ ███╗█████╗ ██╔██╗ ██║█████╗ █████╔╝
██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗
╚██████╔╝███████╗██║ ╚████║███████╗ █████╔╝
╚═════╝ ╚══════╝╚═╝ ╚═══╝╚═══╝ ╚════╝
Generate a Functional FastAPI Projects in Seconds 🚀
Overview
FastAPI Gen8 is a lightweight command-line tool designed to generate clean, structured, production-ready FastAPI project scaffolds at warp speed. Whether you're spinning up a new microservice or testing a prototype idea, Gen8 gives you a fresh, organized foundation with sensible defaults — so you can focus on building, not boring setup rituals.
Prerequisites
Before igniting the generator, make sure you've completed the following:
- Create a remote Git repository for your new project.
- Optionally Setup a Database (E.g, Postgres, MySQL) for your FastAPI App
- Setup a Redis Server running on your machine
Gen8 will automatically initialize Git and link your project to the remote origin you provide.
Features
- Instant FastAPI project scaffold.
- Automatic Git initialization + remote origin setup.
- Clean directory structure and preconfigured templates.
- Opinionated defaults with sensible fallbacks.
- Fast, simple, and repeatable.
Installation
pip install fastapi-gen8
Usage
fastapi-gen8
You’ll be prompted for project details such as name, slug, description, and Git remote URL. and also following through, a FastAPI project would be generated for you with those details. You can use the README on the generated project to verify and complete the project setup like updating .env file and running your first unit test on the project.
Note:
The generated project comes with a comprehensive Unit tests for the code it contains
Example
fastapi-gen8
Project Structure
A typical generated project looks like:
<project_slug_name>/
├── app/
│ ├── main.py
│ ├── routers/
│ ├── models/
│ ├── services/
│ ├── __init__.py
│ ├── main.py
│ ├── api_router.py
│ ├── dependencies.py
│ ├── logger.py
│ ├── middlewares.py
│ ├── mailer.py
│ ├── redis_manager.py
│ └── utils
├── requirements.txt
├── alembic/
├── alembic.ini
├── .gitignore
├── README.md
└── ...
Why FastAPI Gen8?
- Because the world moves too fast for boilerplate.
- Because creativity should start at the endpoint, not the folder tree.
- Because momentum matters — and FastAPI Gen8 gives you that first push.
License
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_gen8-0.0.13.tar.gz.
File metadata
- Download URL: fastapi_gen8-0.0.13.tar.gz
- Upload date:
- Size: 236.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.12.0 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33aa5b721b1334f3ed672b1ef211b0e5db62c589da4c9115503ea706d3952e5d
|
|
| MD5 |
2e1ded3cd6b005dc9473743c0e826214
|
|
| BLAKE2b-256 |
19b1477fb3df5d5c3b0d239ac04170ad6ef13ae283d91dfa93103e123183d4bf
|
File details
Details for the file fastapi_gen8-0.0.13-py3-none-any.whl.
File metadata
- Download URL: fastapi_gen8-0.0.13-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.12.0 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed63d29bfc2bd380400c2f03bfb8c41726393ad40a10e697c40a779d942b5c84
|
|
| MD5 |
930cbea72005fe9fa5c6a5716e595d8c
|
|
| BLAKE2b-256 |
c341d903415166469f9edc7d2b4f6689d4a73ea23cc2fd9c6b7e8ac86f81d42e
|