{ "info": { "author": "Jace Browning", "author_email": "jacebrowning@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Quality Assurance", "Topic :: System :: Installation/Setup", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "Unix: |Unix Build Status| Windows: |Windows Build Status|\\ Metrics:\n|Coverage Status| |Scrutinizer Code Quality|\\ Usage: |PyPI Version|\n\nOverview\n========\n\n``diff-env`` is a command-line to tool to generate reports to compare\nthe value of environment variables in each of your environments against\nthe defaults defined in various files. It will help you you find:\n\n- variables absent from production, but will be required for a new\n feature in test\n- production values that shouldn't be shared to your staging\n environment\n- variables set that are no longer referenced in any files\n\nThis tool was built with\n`Heroku `__, but should work\nwith any infrastructure that supports running commands remotely.\n\nSetup\n=====\n\nRequirements\n------------\n\n- Python 3.6+\n\nInstallation\n------------\n\nInstall ``env-diff`` with pip:\n\n.. code:: sh\n\n $ pip install env-diff\n\nor directly from the source code:\n\n.. code:: sh\n\n $ git clone https://github.com/jacebrowning/env-diff.git\n $ cd env-diff\n $ python setup.py install\n\nUsage\n=====\n\nGenerate a sample config file:\n\n.. code:: sh\n\n $ env-diff --init\n\nCustomize this file to match your project:\n\n- ``sourcefiles``: contain references to environment variables used in\n your project\n\n - ``path``: relative path to source file\n\n- ``environments``: the environments in which your project runs\n\n - ``name``: name of the environment\n - ``command``: command to display currently set environment\n variables\n\nGenerate reports to show the differences between each environment\nvariable:\n\n.. code:: sh\n\n $ env-diff\n\nDemo\n====\n\nInput YAML config file:\n\n|input|\n\nRunning in a terminal:\n\n|run|\n\nOutput (as viewed in\n`TableTool `__):\n\n|output|\n\n.. |Unix Build Status| image:: https://img.shields.io/travis/jacebrowning/env-diff/master.svg\n :target: https://travis-ci.org/jacebrowning/env-diff\n.. |Windows Build Status| image:: https://img.shields.io/appveyor/ci/jacebrowning/env-diff/master.svg\n :target: https://ci.appveyor.com/project/jacebrowning/env-diff\n.. |Coverage Status| image:: https://img.shields.io/coveralls/jacebrowning/env-diff/master.svg\n :target: https://coveralls.io/r/jacebrowning/env-diff\n.. |Scrutinizer Code Quality| image:: https://img.shields.io/scrutinizer/g/jacebrowning/env-diff.svg\n :target: https://scrutinizer-ci.com/g/jacebrowning/env-diff/?branch=master\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/env-diff.svg\n :target: https://pypi.python.org/pypi/env-diff\n.. |input| image:: https://raw.githubusercontent.com/jacebrowning/env-diff/master/docs/demo/input.png\n.. |run| image:: https://raw.githubusercontent.com/jacebrowning/env-diff/master/docs/demo/run.png\n.. |output| image:: https://raw.githubusercontent.com/jacebrowning/env-diff/master/docs/demo/output.png\n\n\nRevision History\n================\n\n0.4 (2017-04-03)\n----------------\n\n- Added extra context around variable use in Heroku ``app.json`` files.\n\n0.3 (2017-03-30)\n----------------\n\n- Added CSV report generation.\n\n0.2 (2017-03-30)\n----------------\n\n- Added detection of source variables matching ``export FOO=bar``.\n- Added Markdown report generation.\n\n0.1 (2017-03-30)\n----------------\n\n- Initial alpha release.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jacebrowning/env-diff", "keywords": "", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "env-diff", "package_url": "https://pypi.org/project/env-diff/", "platform": "", "project_url": "https://pypi.org/project/env-diff/", "project_urls": { "Homepage": "https://github.com/jacebrowning/env-diff" }, "release_url": "https://pypi.org/project/env-diff/0.4/", "requires_dist": [ "YORM (~=1.4)", "blindspin (~=2.0.1)", "click (~=6.7)", "crayons (==0.1.2)", "delegator.py (==0.0.8)" ], "requires_python": "", "summary": "Compares expected environment variables to those set in production.", "version": "0.4" }, "last_serial": 2749451, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e012b16103e9137b92a5f181cc003c62", "sha256": "49069266a253d45b01b48caa20a4fb84e436ce332751389830dd479f9accab22" }, "downloads": -1, "filename": "env_diff-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e012b16103e9137b92a5f181cc003c62", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10800, "upload_time": "2017-03-30T05:10:14", "url": "https://files.pythonhosted.org/packages/b7/0c/1c7141bf4ba26047e10f662fb388fa834410ce72dcc816c0dca6aed16035/env_diff-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28251e1116c83971cfad62a2df53bcf9", "sha256": "b6b2e12cc776aa43a8594b55b00affd1f25b29af1f3d5705c9ef6a3130418498" }, "downloads": -1, "filename": "env-diff-0.1.tar.gz", "has_sig": false, "md5_digest": "28251e1116c83971cfad62a2df53bcf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33629, "upload_time": "2017-03-30T05:10:16", "url": "https://files.pythonhosted.org/packages/23/48/ac38460478f3fe80887e908d0708a67731447e09215732184b8f2569921f/env-diff-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f74e872b48f4c7c4e8b420db28b2177e", "sha256": "e64eb7fd0d449ac0ab39a53dffe57e9fde1e422a1220ecd0d3bcf1bbef2ca6dd" }, "downloads": -1, "filename": "env_diff-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f74e872b48f4c7c4e8b420db28b2177e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12582, "upload_time": "2017-03-30T15:15:36", "url": "https://files.pythonhosted.org/packages/57/82/f8fa58bb7f21ef6706cc85901c958e982f3c7be7bf62804f0d3fb1df7dc8/env_diff-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae856d55226634c8ae2058e6a62d0794", "sha256": "1669cc901bbbb5bf92c76ee85546ae81e8b886de35117e947e774c2411207cfe" }, "downloads": -1, "filename": "env-diff-0.2.tar.gz", "has_sig": false, "md5_digest": "ae856d55226634c8ae2058e6a62d0794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35203, "upload_time": "2017-03-30T15:15:37", "url": "https://files.pythonhosted.org/packages/3a/32/bc6a01f1847aa43589d62b1045d0fa0b66fade66e61084da5022ff75db6d/env-diff-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "88215d1b75e988e74841ff92e22ba1a0", "sha256": "a2ae942dcbf739c620eec14a2393a9a3ca2d21f20c40ed54c52fb9d7a15c2be9" }, "downloads": -1, "filename": "env_diff-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "88215d1b75e988e74841ff92e22ba1a0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12887, "upload_time": "2017-03-30T15:31:09", "url": "https://files.pythonhosted.org/packages/1e/1f/5dfabc96466f8b335684ad78f0d68e93f81d0040847fbb6edf454e7794c3/env_diff-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ca4e7d5157438f97579a82c8b1cfb67", "sha256": "2ef76a1e15222b107f69fde19f77a8642a06ad40540df989c6ca42a94c36465c" }, "downloads": -1, "filename": "env-diff-0.3.tar.gz", "has_sig": false, "md5_digest": "8ca4e7d5157438f97579a82c8b1cfb67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35501, "upload_time": "2017-03-30T15:31:12", "url": "https://files.pythonhosted.org/packages/3c/ac/4596198b84e69dcf71436fc90f115aaec24b480de8f1aac11572e75a6e47/env-diff-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "97ffdf69d9702d4c9fecd2e6982751f8", "sha256": "33bb8e8df5ebd113835b4e9d951ee7eb75ae797a5b9caa3d75239337e440343c" }, "downloads": -1, "filename": "env_diff-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "97ffdf69d9702d4c9fecd2e6982751f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13902, "upload_time": "2017-04-03T13:23:05", "url": "https://files.pythonhosted.org/packages/43/97/e1006d952117b848db246da2268034ae82313045c356faa427f785f9a7f9/env_diff-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a78037896ce4be6a1b55fb8cca610dd3", "sha256": "cdc6fea2a2446a966a283dcf30e29a9598ed41873e8445385d024176915ae2eb" }, "downloads": -1, "filename": "env-diff-0.4.tar.gz", "has_sig": false, "md5_digest": "a78037896ce4be6a1b55fb8cca610dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36893, "upload_time": "2017-04-03T13:23:07", "url": "https://files.pythonhosted.org/packages/ec/8c/a858747ca035eee85f64db61a78aba4cd5c77a7e5c1ff53106dd5e2488bf/env-diff-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97ffdf69d9702d4c9fecd2e6982751f8", "sha256": "33bb8e8df5ebd113835b4e9d951ee7eb75ae797a5b9caa3d75239337e440343c" }, "downloads": -1, "filename": "env_diff-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "97ffdf69d9702d4c9fecd2e6982751f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13902, "upload_time": "2017-04-03T13:23:05", "url": "https://files.pythonhosted.org/packages/43/97/e1006d952117b848db246da2268034ae82313045c356faa427f785f9a7f9/env_diff-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a78037896ce4be6a1b55fb8cca610dd3", "sha256": "cdc6fea2a2446a966a283dcf30e29a9598ed41873e8445385d024176915ae2eb" }, "downloads": -1, "filename": "env-diff-0.4.tar.gz", "has_sig": false, "md5_digest": "a78037896ce4be6a1b55fb8cca610dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36893, "upload_time": "2017-04-03T13:23:07", "url": "https://files.pythonhosted.org/packages/ec/8c/a858747ca035eee85f64db61a78aba4cd5c77a7e5c1ff53106dd5e2488bf/env-diff-0.4.tar.gz" } ] }