Flask MVC Experiment (Django alternative)
Idea: Django alternative (powered by Flask + SQL-Alchemy)
Run project
Install requirements
pip install -r requirements.txt
Apply changes to database (from database migration files)
flask db upgrade
Start Webserver
set FLASK_APP=flask_mvc_app
flask run
# optional
flask run --port 80 --host 0.0.0.0
Development
Enable debug mode for development:
set FLASK_DEBUG=1
Use Flask Shell:
flask shell
>>> from flask_mvc_app.models import *
>>> TestModel.all()
Create migration-file after model changes
flask db migrate -m "user model added"
Initialize DB Structures
Normally not needed again... (for information only)
flask db init
Create Release-Build for PIP
python setup.py bdist_wheel
Inspired (or powered) by:
Metadata
Release files for flask-mvc 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_mvc-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for flask_mvc-0.1.5-py3-none-any.whl |
Release files / flask_mvc-0.1.5-py3-none-any.whl
| Download URL | flask_mvc-0.1.5-py3-none-any.whl |
|---|---|
| Size | 96.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b67f5248a5ed02cd8de9afabe75fb653676bc49b9870ba01e730b9af480a6c8d
|
|
BLAKE2b-256 checksum How to use checksums |
876270b384df452f328c094c259d25782be8cb71da85f9891084117a7d4e48b3
|
| 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 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1rc1
|
Security for flask-mvc 0.1.5
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.