Flask Board
Description
Flask is a powerful and flexible web framework. Since it is so flexible, we have to "copy" some codes to start a new production project. Flask Board is aimed to start a flask project depends on some carefully prepared templates.
Installation
pip install flask-board
After installation, we can see flask board installed as a flask command plugin.
flask board --help
Usage
Create flask project depends on pre defined templates.
flask board your-project
Same as using the default template.
flask board your-project -t default
Available built-in templates
- default: default flask web app
- restful: flask restful API web app
- celery: flask app with celery
Change the project directory
Change project directory by option -d, default use the current directory.
flask board your-project -d <path-to-directory>
Use your own project template
Use -t option point to the custom project directory.
flask board your-project -t <path-to-your-tempalte-directory>
We use jinja2 engine to render all files in the template directory.
We can also exclude files in the template directory (default excludes file patterns *.pyc, *.pyo, *.pyd, *.egg, *.log, *.so, *.zip, *.tar, *.tar.gz).
And exclude directories and all files under it (default excludes directories .git, __pycache__, *.egg-info, build, dist, .idea).
flask board your-project -t <path-to-your-template-directory> --excludes="*.pyc,*.log" excludes_dir=".git,__pycache__"
Metadata
Release files for Flask-Board 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Board-0.2.2.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_Board-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.6 kB
Release files / Flask-Board-0.2.2.tar.gz
| Download URL | Flask-Board-0.2.2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f872319dda2bdb5c94018db5671202c81a3ddc4171053a9cf900f08537a507c1
|
|
BLAKE2b-256 checksum How to use checksums |
a2a57d61ed6928d50033b9ed4588738bce5830d322f645071a15ab2f8eec19f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / Flask_Board-0.2.2-py3-none-any.whl
| Download URL | Flask_Board-0.2.2-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a0e089b75cc9e13b56e1219ff731d82ea394ac0eccc9373728a3c69c8aa7882
|
|
BLAKE2b-256 checksum How to use checksums |
530ae90c510119ee1a354160ab0bc107c5048c09b2836c6b01704ab83c980001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|