Skip to main content

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

o3-0.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

o3-0.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file o3-0.4.tar.gz.

File metadata

  • Download URL: o3-0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for o3-0.4.tar.gz
Algorithm Hash digest
SHA256 da7bab43666342668bb4b11c73b667db80911fbf6dce05872a171334783d1864
MD5 91f673db2384633668df7bc192fe8ace
BLAKE2b-256 43972d2ac625b40a518644f53b9d8ef3579e2fcc3d7f8562cd7a3139c5cab81b

See more details on using hashes here.

Provenance

File details

Details for the file o3-0.4-py3-none-any.whl.

File metadata

  • Download URL: o3-0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for o3-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 41d25c98ecf60c7f196b3bb26661f9645ad7998d9eea37235f7a42dc3de0e6e6
MD5 a6a19cf4f5cd720c9a4e18d4f9f0631a
BLAKE2b-256 1d0b69f7ac41296c1aef59ebacb1171e0d186af59431c9d0e3ea66b754253acd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page