Autogenerate boilerplate code for a Flask app
Project description
create-flask-app
autogenerate boilerplate code for a 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 Libraries
-
Flask-Login
-
Flask-Admin
-
Flask-WTF
JS Libraries
-
Vue.js(CDN version)
-
jQuery
CSS
-
Sass
-
Bootstrap
Databases
-
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.1.tar.gz
(11.2 kB
view details)
Built Distribution
File details
Details for the file new-flask-app-1.0.1.tar.gz
.
File metadata
- Download URL: new-flask-app-1.0.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce66da5d550f5de75cf7a064badcea469f0bacf0e9c80d6cf1b0f936bfbf170a |
|
MD5 | 63cb39eaab96f2edd09b5006107f8447 |
|
BLAKE2b-256 | 3e486815c8a31ce9ad45e29b4635dd1e9bd154355fafb71080afd23c50f2bdc9 |
File details
Details for the file new_flask_app-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: new_flask_app-1.0.1-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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561911184082ec161abfe55ec0c9074c283609f3a1db1782f54f3e664dceb151 |
|
MD5 | c4acde6b5f34ea4f4ca436e24f66ecc9 |
|
BLAKE2b-256 | bbde86849c09e8a9516f1d69ca036769dca5e8e249ddd134f7f2ed1f2a2c1c67 |