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.2.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file new-flask-app-1.0.2.tar.gz
.
File metadata
- Download URL: new-flask-app-1.0.2.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e15dfb65a4714963a6656adea25338442dd4929fe54f776f8d953d5037296ec |
|
MD5 | 56a3eec6faf1ac8dc7274c9b2faaae4b |
|
BLAKE2b-256 | 69803df664fb60ec62bb6caa974c413ddade5d1b18215ba4195701e75a68319f |
File details
Details for the file new_flask_app-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: new_flask_app-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929a0489af70b086e22e127361a140aed560b0c4b7a31acf1596e6c36994617c |
|
MD5 | 3771bf6b190827e9cbcfb7b570645c67 |
|
BLAKE2b-256 | 750bfe002c77c53e5a4b67d5e5c7330e6aec0b5f18459cdae85b1fdd2892ae35 |