{ "info": { "author": "Tim Martin", "author_email": "tim@timmartin.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\nenv-config\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/env_config.svg\n :target: https://pypi.python.org/pypi/env_config\n\n.. image:: https://img.shields.io/travis/timmartin19/env_config.svg\n :target: https://travis-ci.org/timmartin19/env_config\n\n.. image:: https://readthedocs.org/projects/env-config/badge/?version=latest\n :target: https://env-config.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/timmartin19/env_config/shield.svg\n :target: https://pyup.io/repos/github/timmartin19/env_config/\n :alt: Updates\n\n\nA tool for configuring your application via environment variables\n\n\n* Free software: MIT license\n* Documentation: https://env-config.readthedocs.io.\n\n\nFeatures\n--------\n\nGets configuration from environment variables that start with\napp_name optionally allowing you to load the environment variables\nas json\n\n Example with load_as_json=True\n\n .. code-block:: python\n\n from env_config import get_envvar_configuration\n\n # Assuming that there are the following environment variables\n # MYAPP_BOOL=false\n # MYAPP_DICT={\"some_key\": \"some_value\"}\n # MYAPP_STRING=blahblahblah\n # NOTMYAPP_VARIABLE=this wont be recognized\n\n config = get_envvar_configuration('myapp')\n print(config)\n\n # prints out {'BOOL': False, 'DICT': {'some_key': 'some_value'}, 'STRING': 'blahblahblah'}\n\n Example with load_as_json=False\n\n .. code-block:: python\n\n config = get_envvar_configuration('myapp', load_as_json=False)\n print(config)\n\n # prints out {'BOOL': 'false', 'DICT': '{\"some_key\": \"some_value\"}', 'STRING': 'blahblahblah'}\n\nCredits\n---------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-07-11)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/timmartin19/env_config", "keywords": "env_config environment variable configuration json config env envvar python", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "py-env-config", "package_url": "https://pypi.org/project/py-env-config/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py-env-config/", "project_urls": { "Homepage": "https://github.com/timmartin19/env_config" }, "release_url": "https://pypi.org/project/py-env-config/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A tool for configuring your application via environment variables", "version": "0.1.2" }, "last_serial": 2214892, "releases": { "0.1.0": [], "0.1.2": [ { "comment_text": "", "digests": { "md5": "72f8c4520f7d097b87ec135e057a54fd", "sha256": "fec7f4e14cf570dde57d9eb74b6045698219870f1e20567e07a01a85c1f0d528" }, "downloads": -1, "filename": "py_env_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "72f8c4520f7d097b87ec135e057a54fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4795, "upload_time": "2016-07-11T18:25:30", "url": "https://files.pythonhosted.org/packages/90/ce/1ef9f974510c7e833b182f12bdc2754bf08db593212ccf470f7927c9b98f/py_env_config-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "837034842b81a480652dc3a1a4639506", "sha256": "8001c4774cac6bc623602bec1316bc74aacfc4e963df26acc406fe96caaad750" }, "downloads": -1, "filename": "py-env-config-0.1.2.tar.gz", "has_sig": false, "md5_digest": "837034842b81a480652dc3a1a4639506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12155, "upload_time": "2016-07-11T18:25:45", "url": "https://files.pythonhosted.org/packages/53/7a/3724d2448dddd516016ce13649a8a4ade133b4791fc1371c2dcf95ff3104/py-env-config-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72f8c4520f7d097b87ec135e057a54fd", "sha256": "fec7f4e14cf570dde57d9eb74b6045698219870f1e20567e07a01a85c1f0d528" }, "downloads": -1, "filename": "py_env_config-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "72f8c4520f7d097b87ec135e057a54fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4795, "upload_time": "2016-07-11T18:25:30", "url": "https://files.pythonhosted.org/packages/90/ce/1ef9f974510c7e833b182f12bdc2754bf08db593212ccf470f7927c9b98f/py_env_config-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "837034842b81a480652dc3a1a4639506", "sha256": "8001c4774cac6bc623602bec1316bc74aacfc4e963df26acc406fe96caaad750" }, "downloads": -1, "filename": "py-env-config-0.1.2.tar.gz", "has_sig": false, "md5_digest": "837034842b81a480652dc3a1a4639506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12155, "upload_time": "2016-07-11T18:25:45", "url": "https://files.pythonhosted.org/packages/53/7a/3724d2448dddd516016ce13649a8a4ade133b4791fc1371c2dcf95ff3104/py-env-config-0.1.2.tar.gz" } ] }