Skip to main content

fast-scaffold 🚀

CLI to generate FastAPI project scaffolding in a fast, standardized, and extensible way.

fast-scaffold creates the initial structure of a FastAPI project using Mako templates, allowing for easy evolution into multiple types of scaffolds in the future.


✨ Features

  • 📦 Simple and fast CLI
  • ⚡ Generate FastAPI projects in seconds
  • 🧱 Template-based structure (Mako)
  • 🧩 Easy to extend for new scaffolds
  • 🐍 Compatible with Python 3.10+

📦 Installation

Using pipx (recommended for CLIs)

pipx install fast-scaffold

Or using pip:

pip install fast-scaffold

🚀 Quick Start

Create a new FastAPI project:

fast-scaffold project init my-api

This will generate the project structure in the current directory:

my-api/
├── pyproject.toml
├── README.md
└── app/
    └── main.py

🧠 How it works

fast-scaffold utilizes Mako templates located within the package:

fast_scaffold/
└── templates/
    └── project/
        ├── pyproject.toml.mako
        ├── README.md.mako
        └── app/
            └── main.py.mako

🛠️ Local Development

Clone the repository and install the dependencies:

poetry install

Run the CLI locally:

poetry run fast-scaffold project init my-api

📄 Requirements

  • Python >= 3.10
  • Poetry (for development)
  • pipx (recommended for global use)

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

##📜 License

MIT License

Metadata

Release files for fast-scaffold 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fast-scaffold 0.2.0
File Size Uploaded
fast_scaffold-0.2.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fast-scaffold 0.2.0
File Interpreter ABI Platform
fast_scaffold-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / fast_scaffold-0.2.0.tar.gz

Download URL fast_scaffold-0.2.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3de0d8abf7a71e97a5f9ef9239d58ba304a25e125aa7c178e38cd8950daaeae0
BLAKE2b-256 checksum
How to use checksums
a7f0183fcaee8cd1921144e2429880be7d52d18ed6ce3781be3bf6509e40b41d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.12.3 Linux/6.6.87.2-microsoft-standard-WSL2

Release files / fast_scaffold-0.2.0-py3-none-any.whl

Download URL fast_scaffold-0.2.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
069483fd860459ce1cacb729a0d68c33e03a1d98365c3fb2b1551f65882c1811
BLAKE2b-256 checksum
How to use checksums
5b0da5ab57e29b76ada5f6664fb56333ac01b65e18d17dd4f19f629a94de7691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.12.3 Linux/6.6.87.2-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

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