{ "info": { "author": "Einenlum", "author_email": "yann.rabiller@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Testing :: Acceptance", "Topic :: Software Development :: Testing :: BDD", "Topic :: Software Development :: Testing :: Mocking", "Topic :: Software Development :: Testing :: Unit" ], "description": "# Prophepy\n\nPython mocks made for humans.\nHeavily inspired by the great PHP's [Prophecy](https://github.com/phpspec/prophecy).\n\n## Usage\n\n```python\nfrom examples.calculator import Calculator\nfrom examples.displayer import Displayer\nfrom prophepy import prophesize\n\ncalculator = prophesize(Calculator)\ndisplayer = Displayer(calculator._reveal())\n\ncalculator.add(2, 3)._should_be_called()\ncalculator.add(2, 3)._will_return(5)\ndisplayer.display_add(2, 3)\n\ncalculator.check_prophecies()\n```\n\n## Install\n\n`pip install prophepy`\n\n## Tests\n\n`python -m unittest tests/test.py`\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "Einenlum", "maintainer_email": "yann.rabiller@gmail.com", "name": "prophepy", "package_url": "https://pypi.org/project/prophepy/", "platform": "", "project_url": "https://pypi.org/project/prophepy/", "project_urls": null, "release_url": "https://pypi.org/project/prophepy/0.0.4/", "requires_dist": null, "requires_python": ">=3.7,<4.0", "summary": "Python mocks made for humans", "version": "0.0.4" }, "last_serial": 4821644, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3fe339aa52e9fe15a512d00a9322c563", "sha256": "18a01716c2708d541998136825a08a4a393abb9d17aaf1592f1ce16c5e00e1ba" }, "downloads": -1, "filename": "prophepy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3fe339aa52e9fe15a512d00a9322c563", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5494, "upload_time": "2019-02-13T18:29:48", "url": "https://files.pythonhosted.org/packages/fd/fe/2fa3cdf747b0450ef2d285a3c432d154809d1028cb0561094ba9339359ce/prophepy-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64c55e23dcb1b664792a5ecb1c403fe7", "sha256": "d71397fc3b8a2d407a2a07ad7eb61d2bba0b70247b64b7392374548fb32aefe5" }, "downloads": -1, "filename": "prophepy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "64c55e23dcb1b664792a5ecb1c403fe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2722, "upload_time": "2019-02-13T18:29:50", "url": "https://files.pythonhosted.org/packages/3c/2a/d2ba2530ac9c47ce9d585ac3aeb6d14df0cc87ff06b86840539a0386b6a0/prophepy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "81db71a3d8e3c7822e6d2d7466523b2e", "sha256": "7ba5d3c4fd94e4b4ce92240c79263457be562c9d9520963aad49f163b5b40bb0" }, "downloads": -1, "filename": "prophepy-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "81db71a3d8e3c7822e6d2d7466523b2e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5539, "upload_time": "2019-02-14T12:02:17", "url": "https://files.pythonhosted.org/packages/5e/3e/2f4e0b8792a4a6235c138b0bfbe5cb91af7487d895615e75bd0547ffbbc7/prophepy-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "981294ec5c3fc90ac19a22ffdc8de3ba", "sha256": "a8080974da842733da9e1d3fb67f4bbf06fe49eed26180bf6344da3466972f10" }, "downloads": -1, "filename": "prophepy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "981294ec5c3fc90ac19a22ffdc8de3ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2752, "upload_time": "2019-02-14T12:02:18", "url": "https://files.pythonhosted.org/packages/dd/6c/fdb5c4e62b5f4269973f6b6e65592bfd0635a7ce32dccd1695fd7a9f30e3/prophepy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ddf5183a38835a305f03a5b26689c942", "sha256": "101834e58e0a654367b6c66ff5313fe3dbec1d2802fb2b0397a94242c69b0daa" }, "downloads": -1, "filename": "prophepy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "ddf5183a38835a305f03a5b26689c942", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 7666, "upload_time": "2019-02-14T12:08:28", "url": "https://files.pythonhosted.org/packages/46/22/e45f31e325c45554c26e182e90979f4152857d7200f4c0c4a193e020397f/prophepy-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a57e10bbcf2146ef909d3f4afc546f97", "sha256": "b0949caf668bb1ce1f42927d8bc4eb757ec4bb068c478fbdcdcc3132ee6bb424" }, "downloads": -1, "filename": "prophepy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a57e10bbcf2146ef909d3f4afc546f97", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 3495, "upload_time": "2019-02-14T12:08:29", "url": "https://files.pythonhosted.org/packages/6a/a9/b57ba4375b6fdfffc6c96b3d26112fb7062fe7503bc67d8c42ccdefd4890/prophepy-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "33bf334672e1706386106e3c1addf755", "sha256": "a4730f163ccccceb2aaaa908c70a0192dd2992bbad171bb6d74aec27bdf09c9c" }, "downloads": -1, "filename": "prophepy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "33bf334672e1706386106e3c1addf755", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 8137, "upload_time": "2019-02-14T18:32:04", "url": "https://files.pythonhosted.org/packages/16/b2/7694e88ffac6ed0ee9c4cc363ab1481defd324cc2a91768cbc476315778c/prophepy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "930f7c1227951e911cc06687241cf971", "sha256": "9009ba16d06cfd7c4048864013198866b809fe5d05f7d0fd25699dde90734ad3" }, "downloads": -1, "filename": "prophepy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "930f7c1227951e911cc06687241cf971", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 3597, "upload_time": "2019-02-14T18:32:05", "url": "https://files.pythonhosted.org/packages/b1/f1/9e3a00ae4f13d6a8d4c1d3fb9c1cfb7d6ae813e71aea608136280d962018/prophepy-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "33bf334672e1706386106e3c1addf755", "sha256": "a4730f163ccccceb2aaaa908c70a0192dd2992bbad171bb6d74aec27bdf09c9c" }, "downloads": -1, "filename": "prophepy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "33bf334672e1706386106e3c1addf755", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 8137, "upload_time": "2019-02-14T18:32:04", "url": "https://files.pythonhosted.org/packages/16/b2/7694e88ffac6ed0ee9c4cc363ab1481defd324cc2a91768cbc476315778c/prophepy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "930f7c1227951e911cc06687241cf971", "sha256": "9009ba16d06cfd7c4048864013198866b809fe5d05f7d0fd25699dde90734ad3" }, "downloads": -1, "filename": "prophepy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "930f7c1227951e911cc06687241cf971", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 3597, "upload_time": "2019-02-14T18:32:05", "url": "https://files.pythonhosted.org/packages/b1/f1/9e3a00ae4f13d6a8d4c1d3fb9c1cfb7d6ae813e71aea608136280d962018/prophepy-0.0.4.tar.gz" } ] }