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.4.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for new_flask_app-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcff990349a0cf2e4c9e62cee10090b5953fd4cf31701114ca8025a11d9eb932 |
|
MD5 | cb5afc27c0225d902365bea26d79bc95 |
|
BLAKE2b-256 | ad41b7712e241cbcb344c7879eb5ab2a01afaa89a6f48fb5aa13b3d1b4914180 |