flaskinit
Bootstraps Flask projects
Install
$ pip install flaskinit
Usage
Initialize a simple Flask project:
$ flaskinit project
flaskinit
project package: project/__init__.py
views package: project/views/__init__.py
blueprint: project/views/root.py
requirements: requirements.txt
extensions module: project/extensions.py
config module: project/config.py
app module: project/app.py
wsgi module: project/wsgi.py
runserver module: runserver.py
Add blueprints:
$ flaskinit project -b admin
flaskinit
project package: project/__init__.py
views package: project/views/__init__.py
blueprint: project/views/admin.py
blueprint: project/views/root.py
requirements: requirements.txt
extensions module: project/extensions.py
config module: project/config.py
app module: project/app.py
wsgi module: project/wsgi.py
runserver module: runserver.py
Add extensions:
$ flaskinit project -e sqlalchemy
flaskinit
project package: project/__init__.py
views package: project/views/__init__.py
blueprint: project/views/root.py
extension: sqlalchemy
requirements: requirements.txt
extensions module: project/extensions.py
config module: project/config.py
app module: project/app.py
wsgi module: project/wsgi.py
runserver module: runserver.py
Available extensions:
sqlalchemy - Flask-SQLAlchemy
Fork and add more!
Requirements file and server script are included so you can get started quick:
$ pip install -r requirements.txt $ python runserver.py
License
Metadata
Release files for flaskinit 0.0.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 | Actions |
|---|---|---|---|---|
| flaskinit-0.0.1.tar.gz | 4.2 kB | Without provenance | Details for flaskinit-0.0.1.tar.gz |
Release files / flaskinit-0.0.1.tar.gz
| Download URL | flaskinit-0.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f29f62482d8dbb029c586d5187854af3d0edeb34ba28e7a3ad7024fdbf99f736
|
|
BLAKE2b-256 checksum How to use checksums |
b963e72c183a4bb7c7ea8c8b5e104b7b6ef416cd4495ec90abce5b6a8e5d0756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flaskinit 0.0.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.