{ "info": { "author": "Bryan Lester", "author_email": "lester@bittorrent.com", "bugtrack_url": null, "classifiers": [], "description": "dfrnt is a library for comparing PNG screenshots during automated testing and producing visual diffs.\n\ndfrnt will compare images with identical names from automation and produce a result \"diff\" image that red-highlights regions\nin the image that differ.\n\ndfrnt requires a minimum of 3 folders to be specified:\n\nrun_dir is the directory of screenshots from your run, aka 'actual screenshots'\ngold_dir directory of screenshots that are compared against, aka 'expected screenshots'\ndiff_dir is the directory to output the visual diff images into\n\nInvoking:\n\n1. You have a directory of images from your latest test run in \"test/run\" (test.png)\n2. You have a directory of the expected images in \"test/gold\" (test.png)\n3. You want the output of visual diffs to be placed in directory \"test/diff\"\n\nfrom dfrnt import dfrnt\n\nvisual_diffs = dfrnt(run_dir=\"test/run\", gold_dir=\"test/gold\", diff_dir=\"test/diff\")\n\nvisual_diffs.diff()\n\nOutput:\nDiff failed! test.png is not identical enough\n\nA red-lined image showing the differences between run/test.png and gold/test.png is generated in diff/test.png\n\nOptional Features:\nmask_dir is the directory to contain images with highlighted areas you wish to ignore in the diff.\nThis is useful for ignoring portions of an image that always change, like date / time.\nThese mask images should be transparent background PNGs\n\nfuzzy is a \"fuzziness\" factor of how different images can be and still pass.\nIf you experience jitter you should experimentally determine the lowest acceptable number you can use.\nDefault is None, starting your binary search around '40' is recommended\n\nvisual_diffs = visual_diffs = dfrnt(run_dir=\"run\", gold_dir=\"gold\", diff_dir=\"diff\", mask_dir=\"mask\", fuzzy=40)\n\nWhy is this project called 'dfrnt'?\nTo mock the modern practice of dropping vowels in software names to sound unique. Be glad I didn't name it dfrntzlyr.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/LesterTheTester/dfrnt/tarball/0.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LesterTheTester/dfrnt", "keywords": "testing,visual diff,visdiff,automation,screenshot", "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "dfrnt", "package_url": "https://pypi.org/project/dfrnt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dfrnt/", "project_urls": { "Download": "https://github.com/LesterTheTester/dfrnt/tarball/0.2", "Homepage": "https://github.com/LesterTheTester/dfrnt" }, "release_url": "https://pypi.org/project/dfrnt/0.2/", "requires_dist": null, "requires_python": null, "summary": "A Library for visual diffs", "version": "0.2" }, "last_serial": 1312178, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a08579805d0e5f073162a089fab90c1e", "sha256": "c6ed4e42169657d05c7a6dd640302157fe3b3587eaddcae0d25a72abae49e12d" }, "downloads": -1, "filename": "dfrnt-0.1.tar.gz", "has_sig": false, "md5_digest": "a08579805d0e5f073162a089fab90c1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3018, "upload_time": "2014-11-18T23:09:43", "url": "https://files.pythonhosted.org/packages/7a/a7/289c0720ad0c691fe0d43d4305e576ea675333c97c0fe440d9a789421a7d/dfrnt-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "52642997a4123de9c4eed834f3eba97b", "sha256": "8c9eb53c3ef63794a324f4679e6ea1c6e961cfadeb619fa70fbd7794bc3b07e0" }, "downloads": -1, "filename": "dfrnt-0.2.tar.gz", "has_sig": false, "md5_digest": "52642997a4123de9c4eed834f3eba97b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3062, "upload_time": "2014-11-18T23:43:47", "url": "https://files.pythonhosted.org/packages/40/f0/53587ec8fd46da4e0d94bdc05f6154abbbbd6ee163a2d2005269c3a60028/dfrnt-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52642997a4123de9c4eed834f3eba97b", "sha256": "8c9eb53c3ef63794a324f4679e6ea1c6e961cfadeb619fa70fbd7794bc3b07e0" }, "downloads": -1, "filename": "dfrnt-0.2.tar.gz", "has_sig": false, "md5_digest": "52642997a4123de9c4eed834f3eba97b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3062, "upload_time": "2014-11-18T23:43:47", "url": "https://files.pythonhosted.org/packages/40/f0/53587ec8fd46da4e0d94bdc05f6154abbbbd6ee163a2d2005269c3a60028/dfrnt-0.2.tar.gz" } ] }