{ "info": { "author": "Dave Brondsema", "author_email": "dave@brondsema.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "DataDiff\n========\n\nDataDiff is a library to provide human-readable diffs of python data structures.\nIt can handle sequence types (lists, tuples, etc), sets, and dictionaries.\n\nDictionaries and sequences will be diffed recursively, when applicable.\n\nIt has special-case handling for multi-line strings, showing them as a typical unified diff.\n\nDrop-in replacements for some nose assertions are available. If the assertion fails,\na nice data diff is shown, letting you easily pinpoint the root difference.\n\n``datadiff`` works on Python 2.6 through Python 3.\n\nDataDiff project homepage: http://sourceforge.net/projects/datadiff/\n\nExample\n-------\n\nHere's an example::\n\n >>> from datadiff import diff\n >>> a = dict(foo=1, bar=2, baz=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])\n >>> b = dict(foo=1, bar=4, baz=[0, 1, 2, 3, 4, 5, 6, 7, 8])\n >>> print diff(a, b)\n --- a\n +++ b\n {\n -'bar': 2,\n +'bar': 4,\n 'baz': [\n @@ -5,11 +5,8 @@\n 6,\n 7,\n 8,\n -9,\n -10,\n -11,\n ],\n 'foo': 1,\n }\n >>>\n >>> from datadiff.tools import assert_equal\n >>> assert_equal([1, 2, 3], [1, 2, 5])\n Traceback (most recent call last):\n File \"\", line 1, in \n File \"datadiff/tools.py\", line 29, in assert_equal\n raise AssertionError(msg)\n AssertionError:\n --- a\n +++ b\n [\n @@ -0,2 +0,2 @@\n 1,\n 2,\n -3,\n +5,\n ]\n\nLicense\n-------\n\nCopyright 2012, 2014 Dave Brondsema\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://sourceforge.net/projects/datadiff/", "keywords": "data,diff", "license": "Apache License", "maintainer": null, "maintainer_email": null, "name": "datadiff", "package_url": "https://pypi.org/project/datadiff/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/datadiff/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://sourceforge.net/projects/datadiff/" }, "release_url": "https://pypi.org/project/datadiff/2.0.0/", "requires_dist": null, "requires_python": null, "summary": "DataDiff is a library to provide human-readable diffs of python data structures.", "version": "2.0.0" }, "last_serial": 2525993, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6c8ffc0dd4af9053dddf86d48043c657", "sha256": "eabfb6c0dd9e5ae8e2ab37fce4397765c99e0e57565561baa699ef1173b5d164" }, "downloads": -1, "filename": "datadiff-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6c8ffc0dd4af9053dddf86d48043c657", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4584, "upload_time": "2010-11-29T03:50:44", "url": "https://files.pythonhosted.org/packages/89/37/28b2434843e505793457f74acd50da4222ab2477ead925682f2007ffdfa4/datadiff-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c60e18e752f37eab4f4c60a2a73ab24b", "sha256": "5c5363bcbad4045948ccd23fc90129266fbf6eb433f391d99c0d443d31cada55" }, "downloads": -1, "filename": "datadiff-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c60e18e752f37eab4f4c60a2a73ab24b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5249, "upload_time": "2011-01-08T04:45:38", "url": "https://files.pythonhosted.org/packages/7f/e3/8aadf8b1292bdab554f881425167ea7eb0b3834f0e03fe9f9b0926916457/datadiff-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "48a2e9b85332b8252c8401205ff02756", "sha256": "6d4a67467890de0a976503dbea2a839bf0afedb770b8a893f7cbec3fe9683db7" }, "downloads": -1, "filename": "datadiff-1.1.1.tar.gz", "has_sig": false, "md5_digest": "48a2e9b85332b8252c8401205ff02756", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5275, "upload_time": "2011-01-08T05:06:27", "url": "https://files.pythonhosted.org/packages/57/6b/e7520267ce8f337c83d419bad226ddc8c08e2c9e67c1844fa2665f25be0a/datadiff-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "070430c5040a329337dac7eb055b6542", "sha256": "81f23928a07ca70aac82ee6c153ead2533576b73ed60498d66d47f3331f91e5f" }, "downloads": -1, "filename": "datadiff-1.1.2.tar.gz", "has_sig": false, "md5_digest": "070430c5040a329337dac7eb055b6542", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5319, "upload_time": "2011-01-28T19:12:27", "url": "https://files.pythonhosted.org/packages/22/60/89297abb6084c6648b8e9f5cc4e865907ff389bd06066fdee7f2d5aa165f/datadiff-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "1555cc40dbe0c966c2c80cd6b9ba179b", "sha256": "d1d43decaab00d7e855b900f6af4ca2a4227ea78b0c89543d22b7ef0a48606ac" }, "downloads": -1, "filename": "datadiff-1.1.3.tar.gz", "has_sig": false, "md5_digest": "1555cc40dbe0c966c2c80cd6b9ba179b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5412, "upload_time": "2011-07-02T19:16:00", "url": "https://files.pythonhosted.org/packages/4c/fb/efb9d6b15ebfffb2e1f8d29f15b383f576ce398de0df7b961c5863030a00/datadiff-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "42e6ecb4f0d068bca34e0c1ca748bea4", "sha256": "8ca842976ea3315260e629b13e7e8bbf306c29d16c0891726fef635b915cd0a6" }, "downloads": -1, "filename": "datadiff-1.1.4.tar.gz", "has_sig": false, "md5_digest": "42e6ecb4f0d068bca34e0c1ca748bea4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5481, "upload_time": "2012-05-01T22:48:18", "url": "https://files.pythonhosted.org/packages/ce/ec/fa623db236bf0ce7ff53ba9c0118fb7a12ca2c0c3d58336ebdfaa153ea75/datadiff-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "728044dd1e5b347032274acc7cc33dbb", "sha256": "174c583bd31bd751f7d1669c23b4d964bf9b2fc850f5f63abce07d33649cda68" }, "downloads": -1, "filename": "datadiff-1.1.5.tar.gz", "has_sig": false, "md5_digest": "728044dd1e5b347032274acc7cc33dbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5460, "upload_time": "2012-11-19T22:14:46", "url": "https://files.pythonhosted.org/packages/e8/3c/245063de47ad960179638c499eb08de1a264bae543518ecc9be8eb7570f9/datadiff-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "c34a690db75eead148aa5fa89e575d1e", "sha256": "f1402701063998f6a70609789aae8dc05703f3ad0a34882f6199653654c55543" }, "downloads": -1, "filename": "datadiff-1.1.6.zip", "has_sig": false, "md5_digest": "c34a690db75eead148aa5fa89e575d1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9732, "upload_time": "2014-09-26T13:14:36", "url": "https://files.pythonhosted.org/packages/22/39/35de2c9db2593de142caadb45feba608ae240d4cbe312fd25407165b28f9/datadiff-1.1.6.zip" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "3990c9a0c9ddf8c28ede54e61d11127d", "sha256": "54049440a896de5247ee2e7b7aa5425f939ac832c37edb2101f8d3036e89caa8" }, "downloads": -1, "filename": "datadiff-2.0.0.tar.gz", "has_sig": false, "md5_digest": "3990c9a0c9ddf8c28ede54e61d11127d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5516, "upload_time": "2015-11-22T14:59:01", "url": "https://files.pythonhosted.org/packages/87/72/74d5c3d9b4574d3df45f61894aa28344b22f4b059d192cc3753c112f62f0/datadiff-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3990c9a0c9ddf8c28ede54e61d11127d", "sha256": "54049440a896de5247ee2e7b7aa5425f939ac832c37edb2101f8d3036e89caa8" }, "downloads": -1, "filename": "datadiff-2.0.0.tar.gz", "has_sig": false, "md5_digest": "3990c9a0c9ddf8c28ede54e61d11127d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5516, "upload_time": "2015-11-22T14:59:01", "url": "https://files.pythonhosted.org/packages/87/72/74d5c3d9b4574d3df45f61894aa28344b22f4b059d192cc3753c112f62f0/datadiff-2.0.0.tar.gz" } ] }