Infra Enver
Project description
INFRA_ENVER
example
from infra_enver import infra_enver
from pydantic import BaseSettings
import typing as t
class MySettings(BaseSettings):
OPA: str
class Config:
env_file = ".env"
env_file_encoding = "utf-8"
if __name__ == '__main__':
env = infra_enver.Enver("test_enver", "OubTM7ONbgsg1e_Q_LUqPPXdbDqeGhiiYw", True, MySettings())
my_sett = env.get_setting('OPA')
print(my_sett)
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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887901102970ad5b86e9a0bd18712615ce5ce4eb1b505e9491d141b6a2c2e058 |
|
MD5 | 618669afeaee5c7bc197721f84c98a3b |
|
BLAKE2b-256 | 1e0bc652729bfd532068489136c0eeba31739267242e3a7a3e4e87fdcf1efb36 |