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
.envand 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
- Create a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install Wirepy:
pip install wirepy
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wirepy-0.1.8.tar.gz.
File metadata
- Download URL: wirepy-0.1.8.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09bd761873e47cbc8ef4e7927ee8d3478c9b0a2e7aa40e4715b46be271a17bdf
|
|
| MD5 |
911d7232dc4bb0e67080026ea3de5c05
|
|
| BLAKE2b-256 |
34c45490adba2a28939335d572fc21fb9c7b1d42b58a61d69054555b0c03b9eb
|
File details
Details for the file wirepy-0.1.8-py3-none-any.whl.
File metadata
- Download URL: wirepy-0.1.8-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab8ee8990791b9b66e69375946530c1bbb6a049730ab02676e68dd19ba7984ac
|
|
| MD5 |
d308ac7997b410155ae7506719efbe04
|
|
| BLAKE2b-256 |
576dfb58cf19307f333153ade4bdcbc9aedfed7f50375734cce6c3ecd2b26926
|