{ "info": { "author": "Andrew Bennett", "author_email": "chudleigh.rivet@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" ], "description": "# CleverDiff\n[![Build Status](https://travis-ci.org/andrewcbennett/cleverdiff.svg?branch=master)](https://travis-ci.org/andrewcbennett/cleverdiff)\n\nA tool for describing multiple differences in files.\n\n## Why?\nIf you have to compare files which contain multiple differences that are the same, you will know how tedius it is to step through every single hunk of the standard `diff` output. *CleverDiff* will show you each unique diff hunk once, then give you a summary of where else it has found the difference across multiple files.\n\n## Installation\n*CleverDiff* is available on PyPI:\n```\npip install --user cleverdiff\n```\n\n## Usage\nRun the `cleverdiff.py` script, with each pair of files separated with `=` as arguments:\n```\npython3 cleverdiff.py test_data/ref1.def=test_data/new1.def test_data/ref2.def=test_data/new2.def\n```\n\nOr run the cleverdiff.py script, with --old followed by a list of reference files and --new followed by a list of modified files:\n\n```console\npython3 cleverdiff.py --old test_data/ref.def test_data/ref2.def \\\n --new test_data/new.def test_data/new2.def\n```\n\n*CleverDiff* will find the differences between each pair of files, then determine which are identical across all files, and give you a summary:\n\n```\n--------------------------------------------\nDIFF 0:\ninsert in ref.def:49 vs new.def:50:\n+ edit FOO bar\n\nThis difference is replicated elsewhere:\n * with identical diff in different files:\n ref2.def:49 vs new2.def:50\n\n\n--------------------------------------------\nDIFF 1:\nchange in ref.def:339 vs new.def:340:\n- family sat_172\n- edit WMOID '172'\n+ family sat_173\n+ edit WMOID '173'\n\nThis difference is replicated elsewhere:\n * with identical diff in different files:\n ref2.def:339 vs new2.def:340\n * with same diff but different line numbers:\n ref.def:376 vs new.def:377\n ref.def:413 vs new.def:414\n ref.def:450 vs new.def:451\n ref.def:487 vs new.def:488\n ref2.def:376 vs new2.def:377\n ref2.def:413 vs new2.def:414\n ref2.def:450 vs new2.def:451\n ref2.def:487 vs new2.def:488\n```\n\n## Version history\n\n### v0.3\nContributors: @vhsw\n* Add command-line arguments `--old` and `--new` (#7)\n* Add black, isort & pyflakes to CI tests (#4)\n\n### v0.2\nContributors: @andrewcbennett\nIntroduces ecFlow context (#2). Bug fixes.\n\n### v0.1.2\nContributors: @andrewcbennett (with thanks to @takluyver)\nFixes failing tests. Adds Travis CI config.\n\n### v0.1\nContributors: @andrewcbennett (with thanks to @takluyver)\ninitial version\n", "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/andrewcbennett/cleverdiff", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cleverdiff", "package_url": "https://pypi.org/project/cleverdiff/", "platform": "", "project_url": "https://pypi.org/project/cleverdiff/", "project_urls": { "Homepage": "https://github.com/andrewcbennett/cleverdiff" }, "release_url": "https://pypi.org/project/cleverdiff/0.3/", "requires_dist": null, "requires_python": ">=3.6", "summary": "A tool for describing multiple differences in files.", "version": "0.3" }, "last_serial": 6000329, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d5765903e9d1c841a19859d425686393", "sha256": "8a5cfcb448a0efa208b7cd123435e9b99a407c0f35794a6f1bd2b4ae63248f03" }, "downloads": -1, "filename": "cleverdiff-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d5765903e9d1c841a19859d425686393", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 142523, "upload_time": "2019-09-17T13:52:33", "url": "https://files.pythonhosted.org/packages/27/f7/4f4b97f56b0a8d2c78916096f2a8628a24f409bc47caf8e9766d9c189127/cleverdiff-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "074b3245343a4d169648dbe180b40e79", "sha256": "2de6a4e8083e13a54323eef5474faab925069c9b3ab617c485827a8d2c0a5322" }, "downloads": -1, "filename": "cleverdiff-0.1.tar.gz", "has_sig": false, "md5_digest": "074b3245343a4d169648dbe180b40e79", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21942, "upload_time": "2019-09-17T13:53:01", "url": "https://files.pythonhosted.org/packages/2f/1d/0bc1b90077c8f071c84275ad0079552b574b472aa994219601952b4693a2/cleverdiff-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a48167eeaba695179b5409c0cfb81fd4", "sha256": "620e379389c425ce9031e4070dbc3110cf9b5ab674d7e05d22300532ae92bf88" }, "downloads": -1, "filename": "cleverdiff-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a48167eeaba695179b5409c0cfb81fd4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 142596, "upload_time": "2019-09-17T14:03:57", "url": "https://files.pythonhosted.org/packages/8a/fb/e69abbaab21ac99630914e4692d74a1936afbed933c3f6cf7dcb56afb3ef/cleverdiff-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b7ff46a67d643a0abd72407cd765074", "sha256": "6a91345baf8029a8aef1097988e4f35df9e74c4842752e4a01a465ed0aef397e" }, "downloads": -1, "filename": "cleverdiff-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3b7ff46a67d643a0abd72407cd765074", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21962, "upload_time": "2019-09-17T14:04:15", "url": "https://files.pythonhosted.org/packages/b9/9c/aadc1525a6dee3feaac10c578b47b7ad66c5307b0ce7471a3f686b9463ab/cleverdiff-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "30f9acb55155061f273b0b92967ae157", "sha256": "38a98d8bd5f741e0e52e1cfe9b258bc68436a655c0b07ce1f6b9a08729a72848" }, "downloads": -1, "filename": "cleverdiff-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "30f9acb55155061f273b0b92967ae157", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 142681, "upload_time": "2019-09-17T14:46:46", "url": "https://files.pythonhosted.org/packages/bd/d3/535e0ca2ee97963b75d4a6c6cfc08dbbf91e17ba549d1474f649ff4d80c2/cleverdiff-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73f68ef0896fabfce87b2e175c3e5db1", "sha256": "ed08feef0d78c1cdc1858cb948e3f947b39d84cfc6c5b8484f3ea8267207f6a6" }, "downloads": -1, "filename": "cleverdiff-0.1.2.tar.gz", "has_sig": false, "md5_digest": "73f68ef0896fabfce87b2e175c3e5db1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 22144, "upload_time": "2019-09-17T14:46:55", "url": "https://files.pythonhosted.org/packages/fc/b4/02857bf3fad66f0edf6b84022f05d5028ee672bd24ebbe438aa84eebfbdd/cleverdiff-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "20c50f12e04c5c611039ec3b303ce3b6", "sha256": "302d48a7a7fafa361905b4160711ce4e9122e223a3bc308ad51c0bb8311af7df" }, "downloads": -1, "filename": "cleverdiff-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "20c50f12e04c5c611039ec3b303ce3b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 150983, "upload_time": "2019-09-25T21:21:21", "url": "https://files.pythonhosted.org/packages/32/92/231ca0cfcbd31b24f0f0321b0157975f766ece740293291f630dc4606b60/cleverdiff-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba75b1cac48d9d8933e06cdcac8c7c1b", "sha256": "badc89ce4f84379ba3aa4c4dca621de5df0fd33654fb111ff0ee9c5da0abe05c" }, "downloads": -1, "filename": "cleverdiff-0.2.tar.gz", "has_sig": false, "md5_digest": "ba75b1cac48d9d8933e06cdcac8c7c1b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 24085, "upload_time": "2019-09-25T21:22:15", "url": "https://files.pythonhosted.org/packages/8d/3e/5ff90499cb26aca42feca19b3a33b8e0e02c936edcce7bd52fd35e9ee44f/cleverdiff-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "acf4d134189fe4829f7c6b2d60d86616", "sha256": "49384b64d373ee27d7c5785963989dd394e5869caec5d3746017ea46d4430368" }, "downloads": -1, "filename": "cleverdiff-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "acf4d134189fe4829f7c6b2d60d86616", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 155377, "upload_time": "2019-10-19T16:32:31", "url": "https://files.pythonhosted.org/packages/be/d1/dc13561621ecb312c90b54f7df7ced0f91f64097ef25b0c47c797801aa00/cleverdiff-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa2abe680de95ac87d8d947d2a6e7e81", "sha256": "84c038da946943306f0db1794a7a650f905bc973c51302f41b300660defba042" }, "downloads": -1, "filename": "cleverdiff-0.3.tar.gz", "has_sig": false, "md5_digest": "fa2abe680de95ac87d8d947d2a6e7e81", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 25144, "upload_time": "2019-10-19T16:32:45", "url": "https://files.pythonhosted.org/packages/eb/45/7d9e5cb8491dde17ab8d1e1bc9b01e3438010304af2819de086c459e46bb/cleverdiff-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "acf4d134189fe4829f7c6b2d60d86616", "sha256": "49384b64d373ee27d7c5785963989dd394e5869caec5d3746017ea46d4430368" }, "downloads": -1, "filename": "cleverdiff-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "acf4d134189fe4829f7c6b2d60d86616", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 155377, "upload_time": "2019-10-19T16:32:31", "url": "https://files.pythonhosted.org/packages/be/d1/dc13561621ecb312c90b54f7df7ced0f91f64097ef25b0c47c797801aa00/cleverdiff-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa2abe680de95ac87d8d947d2a6e7e81", "sha256": "84c038da946943306f0db1794a7a650f905bc973c51302f41b300660defba042" }, "downloads": -1, "filename": "cleverdiff-0.3.tar.gz", "has_sig": false, "md5_digest": "fa2abe680de95ac87d8d947d2a6e7e81", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 25144, "upload_time": "2019-10-19T16:32:45", "url": "https://files.pythonhosted.org/packages/eb/45/7d9e5cb8491dde17ab8d1e1bc9b01e3438010304af2819de086c459e46bb/cleverdiff-0.3.tar.gz" } ] }