Forge My Flask (FMF)
Forge My Flask (FMF) is a lightweight CLI tool that scaffolds Flask projects in seconds.
It helps you quickly bootstrap Flask web applications or Flask API projects using a clean and practical project structure.
FMF is designed to be beginner friendly while still following patterns used in real Flask projects.
Features
- Create Flask web applications with templates and static files
- Create Flask API projects using blueprints
- Clean and consistent project structure
- No configuration required
- Works on Windows, Linux, and macOS
- Simple interactive CLI
Project Types
Web App
Generates a Flask project with:
app.pytemplates/static/requirements.txt
Best suited for traditional Flask applications that use HTML templates.
API
Generates a Flask API project with:
- Application factory pattern
- Blueprint based routing
- Example health endpoint
- Utility helpers for JSON responses
requirements.txt
Best suited for REST APIs and backend services.
Here’s a clean, updated replacement for that section, now that you’re on PyPI. Professional tone, no fluff, copy-paste ready.
Installation
Install FMF from PyPI:
pip install forge-my-flask
Run the CLI:
fmf
Usage
When you start FMF, you will be prompted to select a project type:
Forge My Flask (FMF)
1. API Project
2. WebApp Project
Follow the prompts and enter a project name. FMF will generate the project structure automatically.
Example Output
Web App Structure
my_web_app/
├── app.py
├── requirements.txt
├── templates/
│ └── index.html
└── static/
└── style.css
API Structure
my_api/
├── app.py
├── config.py
├── requirements.txt
├── routes/
│ ├── __init__.py
│ └── health.py
└── utils/
└── response.py
Why FMF
Flask provides flexibility, but that flexibility often leads to inconsistent project layouts and repeated boilerplate.
FMF solves this by providing a simple and consistent starting point that can be extended as projects grow.
Roadmap
Planned improvements include:
- Non interactive CLI commands
- Optional database setup
- Authentication templates
- Environment based configuration
Contributing
Contributions are welcome.
If you find a bug or have a suggestion, feel free to open an issue or submit a pull request.
License
MIT License
Author
Built by Sparklee
Metadata
Release files for forge-my-flask 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forge_my_flask-0.2.0.tar.gz | 6.8 kB | Without provenance | Details for forge_my_flask-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_my_flask-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for forge_my_flask-0.2.0-py3-none-any.whl |
Total release size: 14.0 kB
Release files / forge_my_flask-0.2.0.tar.gz
| Download URL | forge_my_flask-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cff0f2d5a41c5dbf1cc514eeae8ef0453ba01c9e6c62b12dcf65f93653937002
|
|
BLAKE2b-256 checksum How to use checksums |
a471fc97caad16f348a9c708674ea0ac39b94353ca62c73a5d8bafb6512ebf58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / forge_my_flask-0.2.0-py3-none-any.whl
| Download URL | forge_my_flask-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d39cd87b49a74102c9d57b24700f8f833bb971f5da80f3c59ad5dfc3e1fc6390
|
|
BLAKE2b-256 checksum How to use checksums |
070e036a0fd45da9a5685b99db7e44ea4ba339bdac103ab02d224cb1a3c309a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for forge-my-flask 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.