Infra Enver
Project description
INFRA_ENVER
example
from infra_enver import infra_enver
import typing as t
import random
import redis
redis_db = redis.Redis(
host="localhost", port=6379, db=2, password="pass"
)
if __name__ == '__main__':
env = infra_enver.Enver("TEST", "I_zNOoADzwnVcEQRn2Xr8NK3aXClLkibZw", redis_db, True)
# get setting
print(env.MY_SETT)
# experiment
for i in range(10):
print(env.get_experiment("TEST_EXP_2", random.randint(3, 1000000)))
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for infra_enver-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ae68dfe5b92b170f42cec3a199255488258625029778f29c7cf9f4e63dcb89 |
|
MD5 | a1cd6231012d4a6ba5606cf6c441ed88 |
|
BLAKE2b-256 | 9115590a7cfc60ee21d807f7f660733a89a6fc54655026e08867e44ebc5ebca8 |