A modular Flask core for CTF war-games, originally created for CS6443
Project description
Flask Core
This is a reusable core used to back COMP6443 applications.
Overview
Flask Core is intended to be an installable Pip package to which Flask blueprints can be attached to.
Configuration Variables
TBA
Config Environment Variables
Flask Core accepts some configuration through environment variables.
FLAG
FLAG_SECRET
DB_CONNECTION_STRING
Required
URI used to connect to a database.
Example:
postgres://root:root@localhost/test
FLASK_CORE_CONFIG
Default: None
When pointed to a valid pyconf file, this sets the contained options within Flask and Flask Core.
Example pyconf:
THEME = "flatly"
TITLE = "A Title"
FLASK_CORE_ENABLE_AUTH
Default: True
Enforces user authentication.
FLASK_CORE_ENABLE_ISOLATION
Default: True
Isolates each user's database connection. Depends on user's authentication to function.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask-core-1.0.0.tar.gz.
File metadata
- Download URL: flask-core-1.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5946f9b9c4849a77a3e58f9c195a5bc243bccaa0f7e648ddbbf51aca99e3a26
|
|
| MD5 |
1f5ce93d5c5fd812ec8271adcaee77c9
|
|
| BLAKE2b-256 |
cdbdc6684fcbdb5bc05c633080fc9f6233851252f7346c16e87bdd0f78d570e2
|
File details
Details for the file flask_core-1.0.0-py3-none-any.whl.
File metadata
- Download URL: flask_core-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9f13a70fa766f0ceae676326928ccef4cf0fe3e35f21c32160d3572b3f1b3eb
|
|
| MD5 |
c285d2ab5029ad156f68b22e42d7d5af
|
|
| BLAKE2b-256 |
2e67c8447eefd8f100c36e26abf9031900038cba5f3fa1cef3b547b37b80c3e6
|