{ "info": { "author": "ApplyEnv", "author_email": "applyenv@protonmail.ch", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Applies values from a flat dict (\"environment\") to a tree-like structure (\"schema\"). \n\n\n## Examples\n\n```\n >>> from applyenv import apply\n >>> schema = dict(a=\"A\", b=dict(c=\"C\"))\n >>> environ = dict(A=3, C=5)\n >>> apply(schema, environ)\n {'a': 3, b: {'c': 5}} \n\n```\n\nNote: feel free to use os.environ to populate env values directly into your schema.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ApplyEnv", "package_url": "https://pypi.org/project/ApplyEnv/", "platform": "", "project_url": "https://pypi.org/project/ApplyEnv/", "project_urls": { "Homepage": "https://github.com/" }, "release_url": "https://pypi.org/project/ApplyEnv/1.0.57/", "requires_dist": null, "requires_python": "", "summary": "Populate variables in a tree-like schema", "version": "1.0.57" }, "last_serial": 5144060, "releases": { "1.0.57": [ { "comment_text": "", "digests": { "md5": "8d2ef56c4d8784d978ce326acf4796db", "sha256": "4e3118de41a20d35ac5afd9e26bd761d1aec44cc36fea7b760be88df96d1ed01" }, "downloads": -1, "filename": "ApplyEnv-1.0.57.tar.gz", "has_sig": false, "md5_digest": "8d2ef56c4d8784d978ce326acf4796db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1996, "upload_time": "2019-04-15T10:41:36", "url": "https://files.pythonhosted.org/packages/29/ec/25ad8d436763fdb31f0d7035ccaadef6015a06e913b8ee7e54d3b4dd92fb/ApplyEnv-1.0.57.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8d2ef56c4d8784d978ce326acf4796db", "sha256": "4e3118de41a20d35ac5afd9e26bd761d1aec44cc36fea7b760be88df96d1ed01" }, "downloads": -1, "filename": "ApplyEnv-1.0.57.tar.gz", "has_sig": false, "md5_digest": "8d2ef56c4d8784d978ce326acf4796db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1996, "upload_time": "2019-04-15T10:41:36", "url": "https://files.pythonhosted.org/packages/29/ec/25ad8d436763fdb31f0d7035ccaadef6015a06e913b8ee7e54d3b4dd92fb/ApplyEnv-1.0.57.tar.gz" } ] }