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
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.1.tar.gz
(219.8 kB
view hashes)
Built Distribution
Close
Hashes for holger_utils-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f25116d7df7816723b1784f3b4ec696e0ef50e174ad7c269062f84f57849eb |
|
MD5 | 0ce3c72d60ffd73de1e13a5b37515b61 |
|
BLAKE2b-256 | 9f304045613c1b59df888be54640f2efa3a937bfe6c1a7a64a3dda3a330a66ba |