Skip to main content

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 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
  • Setup a Redis Server running on your machine

Gen8 will automatically initialize Git and link your project to the remote origin you provide. (Think of it as handing the newborn project its first passport.)

Features

  • Instant FastAPI project scaffold
  • Automatic Git initialization + remote origin setup
  • Clean directory structure and preconfigured templates
  • Opinionated defaults without being bossy
  • Fast, simple, and repeatable — like a well-trained cosmic forge

Installation

pip install fastapi-gen8

(or whatever installation method your tool uses — adjust as needed.)

Usage

fastapi-gen8

Introduction Screenshot

You’ll be prompted for project details such as name, slug, description, and Git remote URL. Then—whoosh!—a fully structured FastAPI project appears in your universe.

Example

fastapi-gen8 --name "my-awesome-api" --remote "git@github.com:me/my-awesome-api.git"

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_gen8-0.0.9.tar.gz (235.2 kB view details)

Uploaded Source

Built Distribution

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

fastapi_gen8-0.0.9-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_gen8-0.0.9.tar.gz.

File metadata

  • Download URL: fastapi_gen8-0.0.9.tar.gz
  • Upload date:
  • Size: 235.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.0 HTTPX/0.28.1

File hashes

Hashes for fastapi_gen8-0.0.9.tar.gz
Algorithm Hash digest
SHA256 d707c43c9b4faa2a9f8a83c81ddef4e8b6a003ffebb9eff476254a93ab2dd55a
MD5 1a1a6e4b8ce3537e8ed7e73913d4494c
BLAKE2b-256 6feab871fc299f5b54205e0e0e60e61839c64afeaa8cdde01b142be11d4c2229

See more details on using hashes here.

File details

Details for the file fastapi_gen8-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: fastapi_gen8-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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

Hashes for fastapi_gen8-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0e28c809b449f59c678ea569a76f6fc9bb4b21d328d39cfa261883e08c2e30cd
MD5 916386387d95dc8d215779d270f77fde
BLAKE2b-256 fd75bb6274f0e5c409ec2ac2ff558ec1beb87fc4eb55060476275d886ec0475d

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