Autogenerate boilerplate code for a Flask app
Project description
create-flask-app
autogenerate boilerplate code for a flask app
pip install new-flask-app
Features
-
Generate a basic Flask app with:
- app.py
- config.py
- static folder
- templates folder
- README.md
- Makefile
- setup.py
- requirements.txt
- .gitignore
and optional extras including:
- Test suite(tox, pytest)
- Docker
- Heroku
- Job Scheduler
- Flask-Login
- Flask-Admin
- Flask-WTF
- Vue.js(CDN version)
- jQuery
- Sass
- Bootstrap
- SQLite(Flask-SQLAlchemy)
- MongoDB(Flask-PyMongo)
-
Automatically install pip dependencies in a venv
-
Makefile with useful commands(starting server, lint code, test code)
Getting Started
pip install new-flask-app
to install thecreate-flask-app
console script- run
create-flask-app
- after selecting extras,
cd
into the new directory andmake start
to start flask server - done!
OR
For development:
make install
source .env/bin/activate
create-flask-app
orpython create_flask_app.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
new-flask-app-1.0.3.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file new-flask-app-1.0.3.tar.gz
.
File metadata
- Download URL: new-flask-app-1.0.3.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e6060848fdc3bbe7aa3465db6381912e39b58c8cb6a0a708294dcb373f3fa5 |
|
MD5 | 10ae15b88745c6848522886e0d3da65e |
|
BLAKE2b-256 | 305cfcf49d600b87f46aa5a1f1f230be15412a7a92969a1c9041fb53b070a7d1 |
File details
Details for the file new_flask_app-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: new_flask_app-1.0.3-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97dfbdfbe9bba982167fd45c6f23ec5c89df7c860a5251070800e34532a5d30b |
|
MD5 | 2399528b0c5e1f039c5aca49b207553a |
|
BLAKE2b-256 | 39fda1bfae8b850a55c2d561c5ea71d5ecc0f843ca223f923d013137ce6c01e4 |