Skip to main content

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

Introduction Screenshot

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

Metadata

Release files for fastapi-gen8 0.0.13

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-gen8 0.0.13
File Size Uploaded
fastapi_gen8-0.0.13.tar.gz 236.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-gen8 0.0.13
File Interpreter ABI Platform
fastapi_gen8-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 245.5 kB

Release files / fastapi_gen8-0.0.13.tar.gz

Download URL fastapi_gen8-0.0.13.tar.gz
Size 236.6 kB
Tags Source
SHA-256 checksum
How to use checksums
33aa5b721b1334f3ed672b1ef211b0e5db62c589da4c9115503ea706d3952e5d
BLAKE2b-256 checksum
How to use checksums
19b1477fb3df5d5c3b0d239ac04170ad6ef13ae283d91dfa93103e123183d4bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.2 cpython/3.12.0 HTTPX/0.28.1

Release files / fastapi_gen8-0.0.13-py3-none-any.whl

Download URL fastapi_gen8-0.0.13-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed63d29bfc2bd380400c2f03bfb8c41726393ad40a10e697c40a779d942b5c84
BLAKE2b-256 checksum
How to use checksums
c341d903415166469f9edc7d2b4f6689d4a73ea23cc2fd9c6b7e8ac86f81d42e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.2 cpython/3.12.0 HTTPX/0.28.1

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.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