CLI tool to generate modern Flask projects
Project description
🚀 Flaskey SetDev
Generate modern, ready-to-run Flask projects with a single command.
✨ Features
- ⚡ One-command project scaffolding
- 🎨 Modern Bootstrap 5 UI out of the box
- 📦 Automatic virtual environment creation
- 🔧 Auto dependency installation via pip
- 🧱 Clean, beginner-friendly project structure
- 🖥️ Cross-platform — Windows, macOS, Linux
- 🔒 Auto-generated
.gitignore
📦 Installation
pip install flaskey-setdev
⚡ Usage
flaskey flask <project-name>
Example:
flaskey flask myapp
Other options:
# Show help
flaskey --help
# Show version
flaskey --version
📁 Generated Project Structure
myapp/
├── app.py # Flask entry point
├── requirements.txt # Project dependencies
├── .gitignore # Ignores venv, __pycache__, etc.
├── templates/
│ └── index.html # Bootstrap 5 landing page
├── static/
│ └── style.css # Custom styles
└── venv/ # Auto-created virtual environment
🚀 Run Your Project
Windows:
cd myapp
venv\Scripts\activate
python app.py
macOS / Linux:
cd myapp
source venv/bin/activate
python app.py
Then open your browser at:
http://127.0.0.1:5000
🎨 UI Preview
Your generated app comes with:
- Dark navbar with your project name
- Centered hero section — "Build Something Amazing"
- Primary + outline action buttons
- Responsive layout via Bootstrap 5
- Subtle gradient background
🛠️ Troubleshooting
❌ flaskey command not found
Add Python's scripts folder to your PATH:
C:\Users\<YourName>\AppData\Roaming\Python\Python3XX\Scripts
Restart your terminal after updating PATH.
❌ PowerShell execution policy error (Windows)
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
❌ pip not found inside venv
Make sure you're using Python 3.7+ and that pip is available:
python --version
python -m ensurepip --upgrade
💡 Requirements
| Requirement | Version |
|---|---|
| Python | 3.7+ |
| pip | Latest recommended |
🔥 Roadmap
- FastAPI project generator
- Django template support
- Interactive CLI mode (
--interactive) - Auto-open browser after project creation
- Multiple UI themes to choose from
- Docker support
👨💻 Author
Samarth Patil
🤝 Contributing
Contributions are welcome! Feel free to:
- Fork the repo
- Create a feature branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -m 'Add my feature') - Push to the branch (
git push origin feature/my-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License — see the LICENSE file for details.
⭐ Support
If Flaskey saved you time, give it a ⭐ on GitHub — it helps a lot!
🧠 Why Flaskey?
Stop wasting time on boilerplate. Flaskey gets you from zero to a running Flask app in under 60 seconds — so you can focus on building, not configuring. 🚀
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 flaskey_setdev-0.2.1.tar.gz.
File metadata
- Download URL: flaskey_setdev-0.2.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a96997657e443a09863abce043da83a03921187aa5f150ea9a592a3eb3a270bd
|
|
| MD5 |
249db6719090f8fd062dc578c37651c1
|
|
| BLAKE2b-256 |
8cb2459d50bc9ec02e04975bf2cc558559794faf1a286a5cc2ecb1b5cfbe0f9f
|
File details
Details for the file flaskey_setdev-0.2.1-py3-none-any.whl.
File metadata
- Download URL: flaskey_setdev-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3cce1a53539b14143c5e9d2908441e8487aa440d571b46be2cab64fb2407128
|
|
| MD5 |
ca21e983b6f9cd267524fa5c5d5a0fcf
|
|
| BLAKE2b-256 |
8c336549fc56d3f0d4f476b4bce4cee08a2675b991d070c19997709e885b8b18
|