Skip to main content

A FastAPI utility CLI

Project description

Fast Forge

fastforge is a simple FastAPI utility CLI designed to help developers quickly set up FastAPI projects with a predefined folder structure. It's perfect for hackathons, MVP development, or any situation where you need to rapidly bootstrap a FastAPI application with a production-ready project structure.

Features

Current Version (v0.0.2)

  • Generate a FastAPI sub-app folder structure with a single command
  • Creates a set of empty files for common FastAPI app components

Planned Features

  • Generate entire project structures with selectable modules
  • Add pre-configured modules such as:
    • Authentication
    • Task queues
    • Email Service
    • Simple frontend (e.g. using Jinja2 and Bootstrap)

Feel free to request more features by opening an issue.

Installation

pip install fastforge

Usage

Currently, fastforge supports the following command:

fastforge create-app APP_NAME

This command creates a new directory with the given APP_NAME and populates it with the following empty files:

  • __init__.py
  • router.py
  • schemas.py
  • models.py
  • dependencies.py
  • config.py
  • constants.py
  • exceptions.py
  • service.py
  • utils.py

Project Philosophy

fastforge aims to provide a simple, non-over-engineered solution for developers to quickly set up a FastAPI project with a predefined folder structure. It's designed to give you a solid starting point without unnecessary complexity, allowing you to focus on building your application logic.

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Author: Soham Sagathiya

Email: soham.saga@gmail.com

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

fastforge-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

fastforge-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file fastforge-0.0.2.tar.gz.

File metadata

  • Download URL: fastforge-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fastforge-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d49a354518f62535c9e1220b4186f241e90e3c9cabc599535cd30e6967e6687a
MD5 3c697dba94158b4c6e9af3ad2f17633d
BLAKE2b-256 cc3e9c4721de5b748074b798d7de3d0f5b30e95c135495e96dc4d6a1ae2770db

See more details on using hashes here.

File details

Details for the file fastforge-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fastforge-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fastforge-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0382bde5126470625aa61c77a0c77ea32f46ff4d478b96597a96f4ede4bdfd81
MD5 3c5c7e7d107f4da3456c6cbc3d6c9874
BLAKE2b-256 a57c797dbc18f71a7d67b672ac65e5d9bed11a4f6e095acd8b71f459267a560e

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