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 Distribution
infra_enver-1.0.6.tar.gz
(2.4 kB
view hashes)