{ "info": { "author": "Lucas Infante", "author_email": "maccinza@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Testing" ], "description": "==============\nDictComparator\n==============\nImproved output for dictionaries comparison\n\n\n\nWhat is it?\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nIt is a very simple library aimed to developers which provides better output when\ncomparing python dictionaries during tests.\n\n\nHow does it work?\n~~~~~~~~~~~~~~~~~\n\nThe library uses the open source library deepdiff_ to check for dictionaries\ndifferences and parses its output for a more friendly set of error messages\nwhen an *AssertionError* is raised.\n\nThe library exposes a function, **assert_dicts_equal**, which should be used\nin tests when comparing a result dict object to an expected dict object.\n\n\nInstallation\n~~~~~~~~~~~~\n\nSimply run:\n\n.. code:: bash\n\n $ pip install dictcomparator\n\n\nUsage\n~~~~~\n\nFor using the library in tests it is as simple as the following:\n\n.. code:: python\n\n from dictcomparator import assert_dicts_equal\n\n ...\n # dict_1 and dict_2 are the two dictionaries being compared\n assert_dicts_equal(dict_1, dict_2)\n\n\nIf the dictionaries have any differences they will be detailed in the error\nmessages of the *AssertionError* exception raised.\n\n\nTests\n~~~~~\n\nThe library includes its own set of simple tests. You may run them using your\nfavorite tests runner. For development *nose* was used as the test runner.\n\n\n.. _deepdiff: https://github.com/seperman/deepdiff", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/maccinza/dict_comparator", "keywords": "testing dict dictionary comparison", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "dictcomparator", "package_url": "https://pypi.org/project/dictcomparator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dictcomparator/", "project_urls": { "Homepage": "https://github.com/maccinza/dict_comparator" }, "release_url": "https://pypi.org/project/dictcomparator/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "A simple library for a better dictionary comparison when testing code", "version": "0.2.0" }, "last_serial": 2625613, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "f0cd16f1e58ca575b8518079acf03efc", "sha256": "eeb80deff6bea39332825b08f315fe439f958b77d17d39e74390d9fb0451a9df" }, "downloads": -1, "filename": "dictcomparator-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f0cd16f1e58ca575b8518079acf03efc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3449, "upload_time": "2017-02-07T15:59:34", "url": "https://files.pythonhosted.org/packages/6a/06/9aa0ba2e97e8dd4316f2e1a35442d29050fd6584e7e1157c763d1c18fd44/dictcomparator-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01984649c80c244aa0bc2e804fb909f5", "sha256": "3531fd4ee427dc10e7475d930878661feec5f7f41b1978e874871ff804f87b8f" }, "downloads": -1, "filename": "dictcomparator-0.2.0.tar.gz", "has_sig": false, "md5_digest": "01984649c80c244aa0bc2e804fb909f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1967, "upload_time": "2017-02-07T15:59:36", "url": "https://files.pythonhosted.org/packages/cf/41/aab4907f2ec9d23515fc6f7633303b6fca74e76a7a5007a87a2acffeb722/dictcomparator-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0cd16f1e58ca575b8518079acf03efc", "sha256": "eeb80deff6bea39332825b08f315fe439f958b77d17d39e74390d9fb0451a9df" }, "downloads": -1, "filename": "dictcomparator-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f0cd16f1e58ca575b8518079acf03efc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3449, "upload_time": "2017-02-07T15:59:34", "url": "https://files.pythonhosted.org/packages/6a/06/9aa0ba2e97e8dd4316f2e1a35442d29050fd6584e7e1157c763d1c18fd44/dictcomparator-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01984649c80c244aa0bc2e804fb909f5", "sha256": "3531fd4ee427dc10e7475d930878661feec5f7f41b1978e874871ff804f87b8f" }, "downloads": -1, "filename": "dictcomparator-0.2.0.tar.gz", "has_sig": false, "md5_digest": "01984649c80c244aa0bc2e804fb909f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1967, "upload_time": "2017-02-07T15:59:36", "url": "https://files.pythonhosted.org/packages/cf/41/aab4907f2ec9d23515fc6f7633303b6fca74e76a7a5007a87a2acffeb722/dictcomparator-0.2.0.tar.gz" } ] }