Skip to main content

FastAPI Blueprint

https://badge.fury.io/py/your-package-name.svg https://static.pepy.tech/badge/fastapi-blueprint

FastAPI Blueprint is a command-line tool designed to help developers quickly generate a structured project file system for FastAPI applications. With this tool, you can jumpstart your FastAPI project with a clean, modular, and scalable architecture.

Features

  • Automatically generate directories and files for a standard FastAPI project.

  • Includes support for: - routers - models - schemas - services - utils

  • Customizable templates to suit your project needs.

  • Simple and intuitive CLI commands.

Installation

To install FastAPI Blueprint, use pip:

pip install fastapi-blueprint

Usage

Generate a New Project Structure

Run the following command to create a new FastAPI project:

fastapi-blueprint init my_project

This will generate the following structure:

my_project/
├── app/
│   ├── routers/
│   ├── models/
│   ├── schemas/
│   ├── services/
│   ├── utils/
│   └── main.py
└── requirements.txt

Adding Components

You can add individual components like routers or models:

fastapi-blueprint add router users

This will create a new router file under the routers/ directory.

Customize Templates

FastAPI Blueprint allows you to define your own templates for files and structures. Simply modify the default templates in the ~/.fastapi-blueprint/templates/ directory.

Contributing

Contributions are welcome! If you’d like to contribute:

  1. Fork the repository.

  2. Create a feature branch: git checkout -b feature-name

  3. Commit your changes: git commit -m 'Add feature-name'

  4. Push to the branch: git push origin feature-name

  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgments

FastAPI Blueprint is inspired by the simplicity and scalability of FastAPI itself. Thanks to the FastAPI community for building such an amazing framework!

Metadata

Release files for fastapi-blueprint 1.0.2

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-blueprint 1.0.2
File Size Uploaded Provenance Actions
fastapi_blueprint-1.0.2.tar.gz 5.3 kB Without provenance Details for fastapi_blueprint-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-blueprint 1.0.2
File Interpreter ABI Platform Actions
fastapi_blueprint-1.0.2-py3-none-any.whl Python 3 none any Details for fastapi_blueprint-1.0.2-py3-none-any.whl

Total release size: 12.4 kB

Release files / fastapi_blueprint-1.0.2.tar.gz

Download URL fastapi_blueprint-1.0.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6db51c717777fa9e98ede157cbac60743c3ec93a87a74fed3f5332358ed00b6b
BLAKE2b-256 checksum
How to use checksums
acbb3e3faa45d64809976d96222c9715d28084ab1bdeeb6065cc0f853fccb498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Release files / fastapi_blueprint-1.0.2-py3-none-any.whl

Download URL fastapi_blueprint-1.0.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a18252ac2c5aabce44366796f87c0d14ade54a157ac3b37c9bddc96694da7524
BLAKE2b-256 checksum
How to use checksums
abb0e343143cbae0fe388967aa1b28dc26c6643f4dcfc135a9abcc6c69e9677c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Security for fastapi-blueprint 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

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