{ "info": { "author": "Carles Barrob\u00e9s", "author_email": "carles@barrobes.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Testing" ], "description": "Decorators that simplify the creation of Hamcrest matchers.\n\nFrom a function (with an optional appropriate docstring), create\nhamcrest matchers with minimum extra coding.\n\nThe sources can be found in GitHub_.\n\n.. _GitHub: https://github.com/txels/matchmaker/\n\nExamples::\n\n from matchmaker import matcher\n\n @matcher\n def is_even(item):\n return item % 2 == 0\n\n @matcher\n def ends_like(item, data, length=3):\n \"String whose last {1} chars match those for '{0}'\"\n return item.endswith(data[-length:])\n\nYou can then use these in your tests as::\n\n assert_that(number, is_even())\n assert_that(word, ends_like(other_word, 4))\n\nErrors will display as::\n\n AssertionError:\n Expected: Is even\n but: was <3>\n\n AssertionError:\n Expected: String whose last 4 chars match those for 'cello'\n but: was 'hullo'", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/txels/matchmaker", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "matchmaker", "package_url": "https://pypi.org/project/matchmaker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/matchmaker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/txels/matchmaker" }, "release_url": "https://pypi.org/project/matchmaker/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Easy creation of hamcrest matchers", "version": "0.1.3" }, "last_serial": 1229387, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "686446f84fcf4f984040a074c4fc0040", "sha256": "3178095746f4b2a3ea8d8f24e52fe1290c3325315344d1141e702279f498f295" }, "downloads": -1, "filename": "matchmaker-0.1.0.tar.gz", "has_sig": false, "md5_digest": "686446f84fcf4f984040a074c4fc0040", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1766, "upload_time": "2012-02-26T23:03:49", "url": "https://files.pythonhosted.org/packages/d8/04/b5f3c8fa045d90fdc7a727465bebb4afc99930301a243c903406a3025fd6/matchmaker-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c6fc13831e3de69dea6d3b0969a71eb6", "sha256": "33c35cc2fb5371d08c5407789cbbdeaac276a2560861cca04d3084fe1d2baa95" }, "downloads": -1, "filename": "matchmaker-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c6fc13831e3de69dea6d3b0969a71eb6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1920, "upload_time": "2012-02-27T00:02:35", "url": "https://files.pythonhosted.org/packages/c5/f2/3074fcaecf69fd3181d82b6f81186e86d6fad07d94f6832d4cb5f13e0790/matchmaker-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9273b2f973a2712e72b92919384e3d1a", "sha256": "89d5834be308d11e83744ba144f456ddaeecd3717706344d7ea2f1ab34699830" }, "downloads": -1, "filename": "matchmaker-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9273b2f973a2712e72b92919384e3d1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2075, "upload_time": "2013-07-05T10:55:56", "url": "https://files.pythonhosted.org/packages/6a/45/cef8bbac96ae59f54c76f5db7d7f827b1196ee6edd1cbb915796878c5cb2/matchmaker-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a9195943370b65a0b312f904ad15ed0b", "sha256": "49ffa90adf0885df1efc9c9db2de0ab9e50d358ed26598debd21f0796ea0bd8c" }, "downloads": -1, "filename": "matchmaker-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "a9195943370b65a0b312f904ad15ed0b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3890, "upload_time": "2014-09-18T15:14:59", "url": "https://files.pythonhosted.org/packages/c2/76/deb06f5102d8bc2a647c4b87c1ff05bfe858d0cdaa14cdc7040e0e2622a5/matchmaker-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3c8f8d431cf36b10b439b3fee3b3a75", "sha256": "75ca6b77ae2b78ac5c7fef6d002036f1090de97ac10f81acbc81bd9c2ae7accb" }, "downloads": -1, "filename": "matchmaker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e3c8f8d431cf36b10b439b3fee3b3a75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2107, "upload_time": "2013-07-05T22:20:09", "url": "https://files.pythonhosted.org/packages/0d/ba/c62bad5af28474dd92a96ff0baa1bee7873fac26b68605564dd87d65c0dc/matchmaker-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9195943370b65a0b312f904ad15ed0b", "sha256": "49ffa90adf0885df1efc9c9db2de0ab9e50d358ed26598debd21f0796ea0bd8c" }, "downloads": -1, "filename": "matchmaker-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "a9195943370b65a0b312f904ad15ed0b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3890, "upload_time": "2014-09-18T15:14:59", "url": "https://files.pythonhosted.org/packages/c2/76/deb06f5102d8bc2a647c4b87c1ff05bfe858d0cdaa14cdc7040e0e2622a5/matchmaker-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3c8f8d431cf36b10b439b3fee3b3a75", "sha256": "75ca6b77ae2b78ac5c7fef6d002036f1090de97ac10f81acbc81bd9c2ae7accb" }, "downloads": -1, "filename": "matchmaker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e3c8f8d431cf36b10b439b3fee3b3a75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2107, "upload_time": "2013-07-05T22:20:09", "url": "https://files.pythonhosted.org/packages/0d/ba/c62bad5af28474dd92a96ff0baa1bee7873fac26b68605564dd87d65c0dc/matchmaker-0.1.3.tar.gz" } ] }