Veloxa 🚀
A modern CLI tool to quickly scaffold Flask project structures with best practices.
✨ Features
- 8 Pre-built Flask Templates - From simple hello world to production-ready structures
- Two Usage Modes - Create new projects or initialize in existing directories
- Interactive CLI - Beautiful prompts with easy navigation
- Modern Structure - Follows Flask best practices and conventions
- Zero Configuration - Works out of the box
- Cross Platform - Windows, macOS, and Linux support
🚀 Quick Start
Installation
pip install veloxa
Usage
Create a New Project
veloxa
This will:
- Ask for your project name
- Let you choose a Flask structure
- Create a new directory with all files
Initialize in Current Directory
mkdir my-flask-app
cd my-flask-app
veloxa init
This will:
- Let you choose a Flask structure
- Create files directly in the current directory
Note: While initializing your folder should be empty
📁 Available Project Structures
| Structure | Description | Best For |
|---|---|---|
| Single File Structure | Simple hello world app | Learning, prototyping |
| Basic Modular Structure | Organized into modules | Small to medium apps |
| Application Factory Pattern | Factory pattern with config | Scalable applications |
| Blueprint-Based Structure | Modular with blueprints | Medium to large apps |
| Factory + Blueprints + Config | Complete structure with config classes | Production applications |
| Flask with Celery | Async task queue integration | Background job processing |
| Flask with API | RESTful API structure | API development |
| Full-Scale Production | Complete production setup | Enterprise applications |
🛠️ Examples
Creating a Simple API Project
veloxa
# Enter project name: "my-api"
# Select: "Flask with API (RESTful Structure)"
cd my-api
pip install -r requirements.txt
python run.py
Setting up in Existing Directory
mkdir awesome-flask-app
cd awesome-flask-app
veloxa init
# Select desired structure
pip install -r requirements.txt
python run.py
📋 What's Included
Each generated project includes:
- ✅ Proper Flask structure following best practices
- ✅ Requirements.txt with necessary dependencies
- ✅ Configuration files for different environments
- ✅ Sample routes and views
- ✅ Template files (where applicable)
- ✅ Static file organization
- ✅ Database models (in applicable structures)
- ✅ Error handling
- ✅ Blueprint organization (where applicable)
🎯 Project Structure Examples
Basic Modular Structure
my-app/
├── app/
│ ├── __init__.py
│ ├── routes.py
│ ├── models.py
│ └── templates/
├── config.py
├── requirements.txt
└── run.py
Blueprint-Based Structure
my-app/
├── app/
│ ├── __init__.py
│ ├── main/
│ ├── auth/
│ ├── api/
│ └── templates/
├── migrations/
├── config.py
├── requirements.txt
└── run.py
🔧 Requirements
- Python 3.7+
- pip
🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Setup
git clone https://github.com/yugbhuva/veloxa.git
cd veloxa
pip install -e .
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🐛 Bug Reports & Feature Requests
Found a bug or have a feature request? Please open an issue on GitHub Issues.
📞 Support
- Documentation: GitHub Repository
- Issues: GitHub Issues
- Discussions: GitHub Discussions
🙏 Acknowledgments
- Flask community for the amazing framework
- All contributors who help improve Veloxa
📈 Changelog
v0.1.0
- Initial release
- 8 Flask project templates
- Interactive CLI with questionary
- Support for both project creation modes
Made with ❤️ by Yug Bhuva
Scaffold Flask projects at the speed of light ⚡
Metadata
Release files for veloxa 0.6.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 |
|---|---|---|---|---|
| veloxa-0.6.0.tar.gz | 28.0 kB | Without provenance | Details for veloxa-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| veloxa-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for veloxa-0.6.0-py3-none-any.whl |
Total release size: 71.1 kB
Release files / veloxa-0.6.0.tar.gz
| Download URL | veloxa-0.6.0.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
529b145993946efe310f3752cb4fb76f659f7d56b8dfeed42471a5b0e469348e
|
|
BLAKE2b-256 checksum How to use checksums |
d70e5b1e7ff4a493777dfb39f8fa411812cae5ba69a11506d690f964586b6495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / veloxa-0.6.0-py3-none-any.whl
| Download URL | veloxa-0.6.0-py3-none-any.whl |
|---|---|
| Size | 43.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b9f7198fc9a27823164e3e24d65c1eb4fad7f41288973b3f3aec3fa5fd062ca
|
|
BLAKE2b-256 checksum How to use checksums |
c048cd4594a84c980ed5bf8f6313384cfd810e9cb36e590c54a96ae1a55a1010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for veloxa 0.6.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.