flask-go
Let you create flask project like use django-admin
install
pip install flask-go
How to use
It has two command now, startproject and startapp. If you familiar with Django, use flask-go just like django-admin.
create project
flask-go startproject project_name
It will create project in current folder. if you want to create into specific path, you can:
flask-go startproject project_name destination
use your own template
If you want to use your own project template files, flask-go also support --template command option.
flask-go startproject project_name --template /Users/Cello/Code/my_project_template
flask-go will replace project_name string in folder and file name and replace %(project_name)s in code text.
create blueprint
Like startproject command, but change to use startapp.
flask-go startapp myapp
startapp also support creat into specific path and --template command option.
After creating blueprint, you should add it into your project. Open settings.py and import your app:
# blueprint
from apps.myapp.views import myapp
SYSTEM_BLUEPRINTS = (
(myapp, None), # blueprint and url_prefix
)
run flask
python manage.py run
Have fun!
Metadata
Release files for flask-go 0.1.1
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 | |
|---|---|---|---|---|
| flask-go-0.1.1.tar.gz | 5.2 kB | Without provenance | Details |
Release files / flask-go-0.1.1.tar.gz
| Download URL | flask-go-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1fd1d3459852677992ca481ebd33645e4e29722dfe867137dd765c8d0e62018
|
|
BLAKE2b-256 checksum How to use checksums |
ea33148f9c3b57899ef8037d44515d466a93b2693472964ac174f98ecb40178b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask-go 0.1.1
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.