{ "info": { "author": "Tristan Haffenden", "author_email": "tristanehaffenden@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 2.7" ], "description": "my assert\n=========\n\n*Simple python assertion library with verbose output.*\n\n.. list-table::\n :stub-columns: 1\n\n * - tests\n - |travis| |coverage| |health|\n * - package\n - |version| |supports|\n\n.. |travis| image:: https://travis-ci.org/thaffenden/myassert.svg?branch=master\n :alt: Travis CI Build Status\n :target: https://travis-ci.org/thaffenden/myassert\n\n.. |coverage| image:: https://coveralls.io/repos/github/thaffenden/myassert/badge.svg?branch=master\n :alt: Code Coverage\n :target: https://coveralls.io/github/thaffenden/myassert?branch=master\n\n.. |health| image:: https://landscape.io/github/thaffenden/myassert/master/landscape.svg?style=flat\n :alt: Code Health\n :target: https://landscape.io/github/thaffenden/myassert/master\n\n.. |version| image:: https://badge.fury.io/py/my-assert.svg\n :alt: Pypi Version\n :target: https://pypi.python.org/pypi/my-assert\n\n.. |supports| image:: https://img.shields.io/pypi/pyversions/myassert.svg?style=flat\n :alt: Supported Python Versions\n :target: https://pypi.python.org/pypi/my-assert\n\n\n\n\n**my assert** is a simple assertion library designed to give your assertion statements a more user friendly output.\n\nIt currently accommodates two main implementations:\n\n\nInheriting from the `AllAssertions` class\n-----------------------------------------\n\nYou can superclass the *AllAssertions* class to provide direct access to the assertion statements through self.\n\n.. code-block:: python\n\n from myassert import AllAssertions\n\n class MyNewClass(AllAssertions):\n\n def my_function(foo, bar):\n self.assert_equal(foo, bar)\n\n\nAll methods inside *AllAssertions* are static, so it requires no initialisation.\n\n\n\nImporting the function directly\n-------------------------------\n\nYou can also import the functions directly:\n\n.. code-block:: python\n\n from myassert.assertions import assert_equal\n\n def my_function(foo, bar):\n assert_equal(foo, bar)", "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/thaffenden/myassert", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "my-assert", "package_url": "https://pypi.org/project/my-assert/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/my-assert/", "project_urls": { "Homepage": "https://github.com/thaffenden/myassert" }, "release_url": "https://pypi.org/project/my-assert/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Simple assertion library with verbose error messages", "version": "0.0.3" }, "last_serial": 2538122, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "85bd399a3d8458bdeec7a698a66520fd", "sha256": "30f2e40947f36a8c91d7f8aa10d932da260c5fb7d5a1e6ef143011804a2d04b3" }, "downloads": -1, "filename": "my_assert-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "85bd399a3d8458bdeec7a698a66520fd", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 5542, "upload_time": "2016-11-28T17:37:23", "url": "https://files.pythonhosted.org/packages/e5/13/197152bc0c84df8b2b7d8ec071582e8a7cebf5b03a344d1eba767920043a/my_assert-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "311e7667be0289a399b51801fdf24f67", "sha256": "ca4f8b9ae02c5d2cc3676a7d13f6d127de56ceda6942ddaee0f59f865fc6940b" }, "downloads": -1, "filename": "my-assert-0.0.1.tar.gz", "has_sig": false, "md5_digest": "311e7667be0289a399b51801fdf24f67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3646, "upload_time": "2016-11-28T17:36:05", "url": "https://files.pythonhosted.org/packages/46/e4/37007d236fc26bf9bd454ca86fb9232e06d48873eb760e8508a21451783a/my-assert-0.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "75f9d8809735cc604609b7d0a798ff08", "sha256": "55303269f50853c87110fcbff18c32c3a4b7344f886f84a240e3644c9bdd6455" }, "downloads": -1, "filename": "my_assert-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "75f9d8809735cc604609b7d0a798ff08", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 5550, "upload_time": "2016-11-29T17:03:01", "url": "https://files.pythonhosted.org/packages/62/ec/587994abfb6a48d0385663ef2d1c6177510d523e23ab8c09cfb884f3e948/my_assert-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6521e5a02ac2df9f2b2edf125cc68eb2", "sha256": "f783ee83c09d3e677afd3c84c12d406427bbcadc4452b0fed1504657439f9601" }, "downloads": -1, "filename": "my-assert-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6521e5a02ac2df9f2b2edf125cc68eb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3654, "upload_time": "2016-11-29T17:02:44", "url": "https://files.pythonhosted.org/packages/23/b4/4740ef651dfa77dd3830cafd3a495951a7a1903330383088d9b39f18fd1b/my-assert-0.0.2.tar.gz" } ], "0.0.2": [], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6076b90efe9c00b371aadfebab9c48bc", "sha256": "f470f9bb05bccaef7491c248b317d65f48073a6035441b1df6ef877506b1294c" }, "downloads": -1, "filename": "my-assert-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6076b90efe9c00b371aadfebab9c48bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4568, "upload_time": "2016-12-24T16:47:32", "url": "https://files.pythonhosted.org/packages/67/03/76523f4009f19949696f08025b99a0d4ed0bbb26cac4418f8cb2471feb71/my-assert-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6076b90efe9c00b371aadfebab9c48bc", "sha256": "f470f9bb05bccaef7491c248b317d65f48073a6035441b1df6ef877506b1294c" }, "downloads": -1, "filename": "my-assert-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6076b90efe9c00b371aadfebab9c48bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4568, "upload_time": "2016-12-24T16:47:32", "url": "https://files.pythonhosted.org/packages/67/03/76523f4009f19949696f08025b99a0d4ed0bbb26cac4418f8cb2471feb71/my-assert-0.0.3.tar.gz" } ] }