A simple tool to help you setup a flask project for web development, API development and just any basic app
Project description
flask-setup
Flask Setup Tool
INSTALLATION
$ pip install flask-setup
USAGE
- create a virtual environment and activate it:
$ python -m venv venv
$ source venv/bin/activate
$ flask_setup help
FLAGS
-
-basic: Builds a basic flask app
$ flask_setup -basic
-
-web: Builds a full web flask app
$ flask_setup -web
-
-blueprint: this depends on the first two above. Adds blueprint to the project: e.g.
$ flask_setup -basic -blueprint
$ flask_setup -web -blueprint
-
-api: this adds flask-marshmallow and marshmallow-sqlalchemy to the project to help serialize your models e.g.:
$ flask_setup -web -blueprint -api
-
--project_name: you pass a double flag non-spaced name to name your project default is 'project'. e.g.:
$ flask_setup --myproject -basic -blueprint
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 Distributions
Built Distribution
Hashes for flask_setup-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e703396adcfa08d6b708b7e5dde3070693a7d6ad3afff6a88afec5b9dfb2e10f |
|
MD5 | 528a752ec9583cdcf524a0456e69c24c |
|
BLAKE2b-256 | 53719a5e4edecba2503d3221aee2dded597f14965576a6c733f02ba454841f4f |