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.2.1.tar.gz (10.7 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.2.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wirepy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 12e03c3f1db99e000efa2d555d02dfd089ea0c857703faf9d79fa3bb111917d8
MD5 1d531a37e3b7f9cb217b431384186fc8
BLAKE2b-256 8551259a95abbedf75927a85e48845a87495f1b4e8256352ca441f86999ba9c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wirepy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a18a58239319f0dbf0c069c2fbb3d59c313b959eb7df507f2792aaab27660628
MD5 22df3e373c16cb6645218482a265eb19
BLAKE2b-256 2736f1392dab57636aba37505706900255ddd32f81cdeed432cdd9380fac1b2a

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