{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# get_secret_or_env_var\n\n[![CircleCI](https://img.shields.io/circleci/build/gh/greenape/get_secret_or_env_var.svg?logo=CircleCI&style=flat-square)](https://circleci.com/gh/greenape/get_secret_or_env_var) [![codecov](https://img.shields.io/codecov/c/github/greenape/get_secret_or_env_var.svg?logo=Codecov&style=flat-square)](https://codecov.io/gh/greenape/get_secret_or_env_var) [![License: MIT](https://img.shields.io/github/license/greenape/get_secret_or_env_var.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/python/black)\n\nA docker-secrets aware wrapper for Python's os.getenv and os.environ.\n\nSupplies:\n\n- `getenv`\n- `getenvb`\n- `environ`\n- `environb`\n\nWhich 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.\n\nSetting values on `environ` or `environb` will set the values in their `os.` equivalent.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/greenape/get_secret_or_env_var", "keywords": "", "license": "MIT", "maintainer": "greenape", "maintainer_email": "jono@nanosheep.net", "name": "get-secret-or-env-var", "package_url": "https://pypi.org/project/get-secret-or-env-var/", "platform": "", "project_url": "https://pypi.org/project/get-secret-or-env-var/", "project_urls": { "Homepage": "http://github.com/greenape/get_secret_or_env_var" }, "release_url": "https://pypi.org/project/get-secret-or-env-var/0.0.2/", "requires_dist": [ "pytest ; extra == 'test'", "pytest-cov ; extra == 'test'" ], "requires_python": ">3.5.2", "summary": "Docker secrets aware alternative to os.getenv and os.environ", "version": "0.0.2" }, "last_serial": 5777426, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "fd363292132fa7ffa3702bcbd1231d2d", "sha256": "dc945b732359c0198d75aff0501026aa1fb47a41d666cfd132a18bf7449358c6" }, "downloads": -1, "filename": "get_secret_or_env_var-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fd363292132fa7ffa3702bcbd1231d2d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.5.2", "size": 4364, "upload_time": "2019-07-30T12:38:16", "url": "https://files.pythonhosted.org/packages/4c/6b/ec1bba254196c0d38f7f33f9d767b32982028602a5b93ccf99d2659b0eca/get_secret_or_env_var-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "be8c21cd9c6f1d7f3c10183d343c5dd9", "sha256": "669e85819ac680e980df7161b4a3b98ddd7253c703e8dbf2b16f36dea3214c60" }, "downloads": -1, "filename": "get_secret_or_env_var-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "be8c21cd9c6f1d7f3c10183d343c5dd9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.5.2", "size": 4376, "upload_time": "2019-09-03T18:47:40", "url": "https://files.pythonhosted.org/packages/ba/6d/6bf693792dd8c9d7482fed286d4a1d57e775f802f0c7b172e2c9b0906962/get_secret_or_env_var-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be8c21cd9c6f1d7f3c10183d343c5dd9", "sha256": "669e85819ac680e980df7161b4a3b98ddd7253c703e8dbf2b16f36dea3214c60" }, "downloads": -1, "filename": "get_secret_or_env_var-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "be8c21cd9c6f1d7f3c10183d343c5dd9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.5.2", "size": 4376, "upload_time": "2019-09-03T18:47:40", "url": "https://files.pythonhosted.org/packages/ba/6d/6bf693792dd8c9d7482fed286d4a1d57e775f802f0c7b172e2c9b0906962/get_secret_or_env_var-0.0.2-py3-none-any.whl" } ] }