# get_secret_or_env_var
[](https://circleci.com/gh/greenape/get_secret_or_env_var) [](https://codecov.io/gh/greenape/get_secret_or_env_var) [](https://opensource.org/licenses/MIT) [](https://github.com/python/black)
A docker-secrets aware wrapper for Python’s os.getenv and os.environ.
Supplies:
getenv
getenvb
environ
environb
Which behave exactly like their stdlib equivalents, but will look for a file in /run/secrets and return the contents in preference to any environment variables.
Setting values on environ or environb will set the values in their os. equivalent.
Metadata
Release files for get-secret-or-env-var 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| get_secret_or_env_var-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for get_secret_or_env_var-0.0.2-py3-none-any.whl |
Release files / get_secret_or_env_var-0.0.2-py3-none-any.whl
| Download URL | get_secret_or_env_var-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
669e85819ac680e980df7161b4a3b98ddd7253c703e8dbf2b16f36dea3214c60
|
|
BLAKE2b-256 checksum How to use checksums |
ba6d6bf693792dd8c9d7482fed286d4a1d57e775f802f0c7b172e2c9b0906962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for get-secret-or-env-var 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.