Skip to main content

Laravel-style project structure for FastAPI

Project description

Wirepy

Wirepy is a Python project scaffolding tool designed to accelerate the development of FastAPI-based applications. It provides a command-line interface (CLI) to generate boilerplate code, manage migrations, and organize your project structure following best practices.

Features

  • CLI Tooling: Easily scaffold new FastAPI projects and components.
  • Project Templates: Predefined templates for controllers, models, routes, schemas, services, and core utilities.
  • Database Integration: Built-in support for database configuration and migrations using Alembic.
  • Environment Management: Template for .env and requirements management.

Folder Structure

── wirepy/
     ├── app/
     │   ├── controllers/
     │   ├── models/
     │   ├── routes/
     │   ├── schemas/
     │   ├── services/
     │   └── core/
     │       ├── config.py
     │       └── database.py
     ├── __init__.py
     ├── alembic/
     ├── alembic.ini
     ├── main.py
     ├── .env
     ├── requirements.txt
     └── README.md

Installation

  1. Create a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
    
  2. Install Wirepy:
    pip install wirepy
    
  3. Create a new project:
    wirepy new <project-name>
    

## License

This project is licensed under the terms of the MIT License. See the `LICENSE` file for details.

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

wirepy-0.1.7.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

wirepy-0.1.7-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file wirepy-0.1.7.tar.gz.

File metadata

  • Download URL: wirepy-0.1.7.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for wirepy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 0122e30f625da3e1b7f56b50337852044e79ad03710c1b100a847588e10327e2
MD5 3b8408091ce6f8b8ff24ed1965b7d8d3
BLAKE2b-256 398d42d2877ee854a8bea40b7645c87085f54304159bb4258572df7a05d3871d

See more details on using hashes here.

File details

Details for the file wirepy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: wirepy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for wirepy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 047eda589bb650db624b6bf4a90a4d6c03d43ca21de6a8ef3b91eae607eea4ac
MD5 cc7a811998a213496004ad6d5c71acb5
BLAKE2b-256 01a6891a9faa912dc2a0a03738a5ecd6664a708ad4bd55603fee150137ef2ac1

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