A multi-event planner flask application. It allows for RSVP options, authentication, and guest management
Project description
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
SQLite
database.
A more 'real' example can be found in the root of the repository as wsgi.py
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mistela_flask-0.16.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9a87161e99695258ebede73e374e76449a262472f081cc6b39570638673aaf |
|
MD5 | 1aedb14c11783d49ba655b7bc3da2a65 |
|
BLAKE2b-256 | 493ae117f9908e21d48d0258cd493ceca5bac59d9e2c34e00434fab12fee9e60 |