flask_template
templates used to fast create flask project.
install
pip install flask_template
usage
flasktemplate create [-t simple] project_name
will create a flask project directory named after project_name on current path.
flasktemplate create -t mongo project_name
will create a flask project directory named after project_name on current path. mongo template will use mongodb instead of mysql.
flasktemplate list will list current supported templates.
normal project initial usage flow:
cd {project_name}pyenv virtualenv {python_version} {virtualenv_name}pyenv activate {virtualenv_name}- modify
SQLALCHEMY_DATABASE_URIwith correct database account and database name - design and develop models and migrate, apply them into database with:
python manage.py db migratepython manage.py db upgrade
- design develop apis
update logs
0.4.3
- add mongo template
- use mongodb instead of mysql as database
- add hamlet user authentication, send email
- add celery wokers
- add send email, tar/zip file, send file
- add dockerfile
0.4.2
- update requirements
- fix bugs
0.4.1
-
modify config.py;
-
format by pycodestyle;
0.4
-
add migrations directory,modify env.py script to support alembic:include, alembic:exclude options in alembic.ini to limit alembic dectecting tables;
-
fix some typo;
Metadata
Release files for flask-template 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_template-0.4.4.tar.gz | 24.6 kB | Without provenance | Details for flask_template-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_template-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for flask_template-0.4.4-py3-none-any.whl |
Total release size: 56.7 kB
Release files / flask_template-0.4.4.tar.gz
| Download URL | flask_template-0.4.4.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dd91d2e442f831500975f1b470e0f6d16b3c900d3faaa8d4c1e525888c1feeb
|
|
BLAKE2b-256 checksum How to use checksums |
ddc516f5048b475e5cd95c021a89e06f64f40fc1552dfb6999a11f2d28cc13ae
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.1
|
Release files / flask_template-0.4.4-py3-none-any.whl
| Download URL | flask_template-0.4.4-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41b2f4ec4fafb15cd24055d3bb7b1f452536b2615810c5ae1953cfd247f3cc13
|
|
BLAKE2b-256 checksum How to use checksums |
29520512798d2573332cd0c463a674fd7258cc1a006c3cdcd6986c7d6a41a7ac
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.1
|
Security for flask-template 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.