No project description provided
Project description
The quick summary:
Ozone or trioxide, is an allotrope of Oxygen. It’s found in the higher atmosphere, and can also be smelled after rain. Ozone configuration library is meant to be used when building cloud native applications (or 12 Factor applications).
Usually these application are configured with environment variables. These in turn are constants usually typed as SOME-VARIABLE. To read this in Python you would do this:
>>> import os >>> os.getenv("SHIFTSOME_VARIABLE")
I got tired of this and I want to access SOME-VARIABLE as an attribute, so:
export SOME_VARIABLE=magic >>> from o3 import Config >>> c = Config() >>> c.some_variable magic
Notice, access is done via attribue instead of dictionary lookup.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file o3-0.4.2.tar.gz
.
File metadata
- Download URL: o3-0.4.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7423780024dd4c559868f92c94199437d0f7c0596e6675d2bd1e4e9e7d34aa19 |
|
MD5 | 5c56c6f01f012377ccd4c0c19cc75371 |
|
BLAKE2b-256 | 239d2e258faa5e7003f46f6dab9bab12bf8fcceb61ecd0e6fc22400ccb94fcec |
File details
Details for the file o3-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: o3-0.4.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed73610deb6bbb860d2319edf544cb673bea403397072fdb3226cacb85e7d9f |
|
MD5 | c977c7a95b6b09e5e774ce8eb11dd0c6 |
|
BLAKE2b-256 | 519f23a6893938198eab73e11ef9791a1434497132e615736e85792404eed9fe |