utils for developing web application
Project description
Holger Utils
Sentry
settings.py
from holger import sentry
...
SENTRY_KEY = '<your sentry key>'
SENTRY_ORGANIZATION = '<your sentry organization name>'
SENTRY_PROJECT = '<your sentry project name>'
SENTRY_ALLOWED_ALL = 'if true all status captured' # default False
SENTRY_ALLOWED_STATUS = 'list of status that should capture' # default []
sentry.init()
Elastic search
settings.py
ELASTIC_PROTOCOL = '<http or https>' # default 'http'
ELASTIC_HOST = '<host that elastic run>' # default 'localhost'
ELASTIC_PORT = '<listen port>' # default 9200
ELASTIC_USE_SSL = '' # default False
TIME_ZONE = '<elastic timezone>' # default 'UTC'
Firebase
settings.py
FIREBASE_APP_OPTIONS = '<app dict options>' # default {}
FIREBASE_APP_NAME = 'your app name' # default 'FIRESTORE_DEFAULT'
Log
for use log, you must config elastic search and sentry before
Rest Api
TAMARIN_JWT_KEY = '<jwt public-key>' # default secret key
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
holger-utils-0.5.2.tar.gz
(239.4 kB
view hashes)
Built Distribution
Close
Hashes for holger_utils-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed7e1989d2a6a5428be902dd24b188284b93b282b2bca4cd079710a07dde09c |
|
MD5 | 524a9dbc193dd9862d6110d2afb85bef |
|
BLAKE2b-256 | 8f0519b59dd364c13f43c0d99cf379f38fb15ebf77ccd9cf7887e11fb0ff1d1a |