{ "info": { "author": "Oliver Marks", "author_email": "oly@digitaloctave.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "pytest-Inomaly\n===================================\n\n[![Build Status](https://ci.digitaloctave.com/api/badges/oly/pytest-inomaly/status.svg)](https://ci.digitaloctave.com/oly/pytest-inomaly)\n\nA simple image diff plugin for pytest currently provides two new methods, use full for testing image related code and making sure the results do not change unexpectedly.\n\n - pytest.idiff - returns true or false \n - pytest.idiff_variance - returns the difference between the two images\n \n \nRequirements\n------------\nRequires scipy and pytest to calculate the differences.\n\n - scipy\n - pytest\n\n\nInstallation\n------------\n\nYou can install \"pytest-Inomaly\" via `pip`_ from `PyPI`_::\n\n $ pip install pytest-Inomaly\n\n\nUsage\n-----\n\n\nAssert images are identical.\n\n assert idiff(path_to_first_image, path_to_second_image) is True\n\nAssert images are almost identical, allow some variation for anti aliasing or similar.\n\n assert idiff(path_to_first_image, path_to_second_image, tolerance=0.1) is True\n\nSame as the above two method but will return the difference as a value instead of true or false.\n\n assert idiff_tolerance(path_to_first_image, path_to_second_image, tolerance=0.1) == 3.14\n\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-Inomaly\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\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/olymk2/pytest-Inomaly", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-Inomaly", "package_url": "https://pypi.org/project/pytest-Inomaly/", "platform": "", "project_url": "https://pypi.org/project/pytest-Inomaly/", "project_urls": { "Homepage": "https://github.com/olymk2/pytest-Inomaly" }, "release_url": "https://pypi.org/project/pytest-Inomaly/0.2.5/", "requires_dist": null, "requires_python": "", "summary": "A simple image diff plugin for pytest", "version": "0.2.5" }, "last_serial": 3579674, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6c291bd0741befc1100f3cc34a498869", "sha256": "b4e704bb2444337c3a765353991691b1fad98351385aefafdad528c96abbd7a4" }, "downloads": -1, "filename": "pytest-Inomaly-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6c291bd0741befc1100f3cc34a498869", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3454, "upload_time": "2017-03-25T08:50:37", "url": "https://files.pythonhosted.org/packages/77/6a/52c91a1cd4bf40d4e0c4df0ddd3a8b009b6cbfce696a0d15748547bc8137/pytest-Inomaly-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "523994212d46135d41b96fd1f0d4cffc", "sha256": "6184a440feee26c23130f7210f3811cba8ae0137581b07bfc1b1f26bee0fb9fb" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.0.tar.gz", "has_sig": false, "md5_digest": "523994212d46135d41b96fd1f0d4cffc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3634, "upload_time": "2017-08-10T19:40:56", "url": "https://files.pythonhosted.org/packages/ba/32/bfbd25212ca230bc927e29b66f8f25a156abe0943c4e4a861f4f4adeacf1/pytest-Inomaly-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "01f336c386efce20bb53430563d63669", "sha256": "de451263f7ecc03e2f641e0a0ef3d2e5170108bb7845a315670af6eb1ca44d1e" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.1.tar.gz", "has_sig": false, "md5_digest": "01f336c386efce20bb53430563d63669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3672, "upload_time": "2017-09-19T06:19:10", "url": "https://files.pythonhosted.org/packages/44/c9/a58f0780c5155ab2cbf329126401f66d915068b1c3c85c2640202f821e4c/pytest-Inomaly-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9233e7e139c509a44f0b2c84844fb147", "sha256": "f1a1592e2f99a3aecc2112e0a895ad3b8510cc3647cb6044337fe39e92799920" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9233e7e139c509a44f0b2c84844fb147", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3791, "upload_time": "2017-09-19T19:39:27", "url": "https://files.pythonhosted.org/packages/d6/89/c790bbe7aa0ee857e037353fe23946486b7073a69877e44081ca83111310/pytest-Inomaly-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "af19d22a206943d2223de3f030856c9d", "sha256": "15f288c3805467ea39ac2804dc2cf8e429d5a1579962b01d886275ba62571c24" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.3.tar.gz", "has_sig": false, "md5_digest": "af19d22a206943d2223de3f030856c9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3787, "upload_time": "2017-09-21T21:30:22", "url": "https://files.pythonhosted.org/packages/8f/f5/0ed782fd0fe70e9e5c678b85c86daaab91d8cac5920285d513442cb9994d/pytest-Inomaly-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "8a28d60884894478d51063c4ad458759", "sha256": "62d4532525c4fcdc23ca63955f5578810441430896647d5df8aff18945d0fadc" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.4.tar.gz", "has_sig": false, "md5_digest": "8a28d60884894478d51063c4ad458759", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3778, "upload_time": "2018-02-12T21:42:11", "url": "https://files.pythonhosted.org/packages/59/79/20d9721a1be69bab194c43a539eaaea18da88af7e0d401569c9591a2dff4/pytest-Inomaly-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "4e6e9b8646e57206b419b10fa62e1059", "sha256": "61732c0d91cb8a028fe533b9e3d522a801d7c9578e739fd89fa77a802753de86" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.5.tar.gz", "has_sig": false, "md5_digest": "4e6e9b8646e57206b419b10fa62e1059", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3806, "upload_time": "2018-02-13T21:24:54", "url": "https://files.pythonhosted.org/packages/45/d1/a2c9e921be44e3d7fc8a62b2d0f1f9e50860b3923a53365a5094220ebf94/pytest-Inomaly-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e6e9b8646e57206b419b10fa62e1059", "sha256": "61732c0d91cb8a028fe533b9e3d522a801d7c9578e739fd89fa77a802753de86" }, "downloads": -1, "filename": "pytest-Inomaly-0.2.5.tar.gz", "has_sig": false, "md5_digest": "4e6e9b8646e57206b419b10fa62e1059", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3806, "upload_time": "2018-02-13T21:24:54", "url": "https://files.pythonhosted.org/packages/45/d1/a2c9e921be44e3d7fc8a62b2d0f1f9e50860b3923a53365a5094220ebf94/pytest-Inomaly-0.2.5.tar.gz" } ] }