mistela-flask
A multi-event planner elaborated with Flask.
Initial steps done following this Digital Ocean guide
This version of Flask aims to provide a simpile solution to manage an event such as a wedding with different 'sub-events'. The tool also provides a custom-defined admin page as Flask does not really provide one itself (and I did not like Flask-admin as all users seemed to have admin rights).
Either way, this was a nice user-case for me to get hands-on with Flask.
Why the name Mistela?
Mistela is 'sort of a wine' quite common in my region (València, Spain) for celebrations or simply after a family dinner. It made sense that if this flask 'flavour' is about events (celebrations) management, it should have an appropiate name, therefore, mistela-flask :).
Downloading the package.
- Directly from the source:
pip install git+https://github.com/Carsopre/mistela-flask.git
- Or from pypi:
pip install mistela-flask
Installing the repository.
To develop on the repository you should be using Poetry. Once installed, simply run the install commandpoetry install and all development and production dependencies will be added to your virtual environment.
Usage
Mistela-flask can be used as a package and easily deployed as any regular flask app.
from mistelaflask import create_app
import secrets
import os
os.environ["SECRET_KEY"] = secrets.token_hex(16) # Required environment variable.
os.environ["DATABASE_URI"] = "sqlite:///db.sqlite"
os.environ["MISTELA_TITLE"] = "My big event"
os.environ["STATIC_FOLDER"] = "path//to//my//static//folder"
os.environ["MAIL_USERNAME"] = "joe.doe@email.com"
os.environ["MAIL_PASSWORD"] = "1234"
app = create_app()
app.run()
By default, mistelaflask will run on a
SQLitedatabase.
A more 'real' example can be found in the root of the repository as wsgi.py.
Metadata
Release files for mistela-flask 0.16.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 |
|---|---|---|---|---|
| mistela-flask-0.16.1.tar.gz | 23.5 kB | Without provenance | Details for mistela-flask-0.16.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mistela_flask-0.16.1-py3-none-any.whl | Python 3 | none | any | Details for mistela_flask-0.16.1-py3-none-any.whl |
Total release size: 72.1 kB
Release files / mistela-flask-0.16.1.tar.gz
| Download URL | mistela-flask-0.16.1.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71f062158b2be228eeedd98f50d6828776dff088b7d99ec37ef0129b63e73f8f
|
|
BLAKE2b-256 checksum How to use checksums |
929ac91d9a962f7318ec779a3085ee01f32817d89a9413ea7716cce47d4297a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.10.6 Windows/10
|
Release files / mistela_flask-0.16.1-py3-none-any.whl
| Download URL | mistela_flask-0.16.1-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9a0f65ee6ec5af8d44cb7f83ef7e3682c7caa117024520911043a8d90b0245f
|
|
BLAKE2b-256 checksum How to use checksums |
832c10cb8a251e32c1aaa05ead5117b371eee02701aeed72b03e90dda8120201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.10.6 Windows/10
|
Security for mistela-flask 0.16.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.