A command-line tool for generating scaffolding projects with different configurations
Project description
BuildMason
BuildMason is a command-line tool for generating scaffolding projects with different configurations.
It currently supports creating a basic Flask project, a Flask REST API project, and a Flask project with Blueprints.
Installation
pip install buildmason
Usage
buildmason COMMAND [OPTIONS] [ARGS]...
Commands
- basic-project: Generates a basic Flask project.
- rest-api: Generates a Flask REST API project.
- blueprint: Generates a Flask project with Blueprints.
Options
--help: Show this message and exit.
Getting Started
Basic Flask Project
buildmason basic-project
This command will generate a basic Flask project structure. Find more details here.
Flask REST API Project
buildmason rest-api
This command will generate a Flask project with REST API configuration. Find more details here.
Flask Blueprint Project
buildmason blueprint
This command will generate a Flask project with Blueprints. Find more details here.
Project Details
Basic Flask Project
A basic Flask project structure with the following components:
- app/: Main application directory.
- init.py: Initialization file for the app.
- models/: Contains SQLAlchemy models.
- services/: Business logic or services.
- utils/: Utility functions or configuration files.
- app.py: Main entry point for the Flask application.
- tests/: Directory for unit tests.
- config.py: Configuration file for the Flask application.
- requirements.txt: File containing project dependencies.
Flask REST API Project
A Flask project configured for building REST APIs with Blueprints. It includes:
- An example REST API Blueprint (api/) with a sample route.
- flask-restful library for building RESTful APIs.
Flask Blueprint Project
A Flask project structured with Blueprints for modularization. It includes:
Blueprints for different parts of the application (e.g., main/, auth/). Templates and static files separated into templates/ and static/ directories. Adjust the project structure and content based on your specific needs and requirements.
Contributing
Feel free to contribute to this project. Open issues or submit pull requests on the GitHub repository.
License
This project is licensed under 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 buildmason-0.0.3.tar.gz.
File metadata
- Download URL: buildmason-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6e919289f128fcabb138ff1765ed6ca006e39234382a9eed017be776534f57
|
|
| MD5 |
0e5042b3acc475d9528f5242b106c8a2
|
|
| BLAKE2b-256 |
a84cad57b457342f88c2167d93a2849a4b44d16d2d1770f4ae191945e15e9a4f
|
File details
Details for the file buildmason-0.0.3-py3-none-any.whl.
File metadata
- Download URL: buildmason-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c729ea2d27adad3fc105213905e929001aae9816dbb9cc78bab793339709b3cc
|
|
| MD5 |
1d724df8abecb3091c205ec5f129263e
|
|
| BLAKE2b-256 |
e915960bed4e68cf06fbb1a09c7801e652e5676f16940c03fdea49b7dae947b5
|