Sesam microservice utils
Project description
SesamUtils
Python module to simplify common tasks when developing microservices for the Sesam integration platform.
Usage examples
from sesamutils import VariablesConfig
required_env_vars = ["username", "password", "hostname"]
optional_env_vars = ["debug"]
config = VariablesConfig(required_env_vars, optional_env_vars=optional_env_vars)
if not config.validate():
sys.exit(1)
print(config.username)
Installation
pip install sesamutils
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
sesamutils-0.1.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for sesamutils-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2dbbed4729062c07a2bb1fa0affc8d1c8d83e5ecb2d815b5f317b1f8ac7b64 |
|
MD5 | f361184070cfc6f7664449668270c11e |
|
BLAKE2b-256 | ab10db1e24141f70530ea632e46937fad15dbe6bf0d8a0577f5dd530eb932b0e |