mocksafe


Namemocksafe JSON
Version 0.6.0a0 PyPI version JSON
download
home_page
SummaryA mocking library developed to enable static and runtime type checking of your mocks to keep them in sync with production code.
upload_time2023-05-25 16:42:17
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2023 Daniel Mayo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords mock mocking typed typing typesafe testing tests mocks magicmock unittest stubbing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml/badge.svg
    :target: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml?query=branch%3Amain
    :alt: Github Actions Status
.. image:: https://codecov.io/gh/dmayo3/mocksafe/branch/main/graph/badge.svg?token=S3JI6OOTGF 
    :target: https://codecov.io/gh/dmayo3/mocksafe
.. image:: https://readthedocs.org/projects/mocksafe/badge/?version=stable
    :target: https://mocksafe.readthedocs.io/en/stable/?badge=stable
    :alt: Documentation Status
.. image:: https://badge.fury.io/py/mocksafe.svg
    :target: https://badge.fury.io/py/mocksafe
    :alt: PyPI Package
.. image:: https://img.shields.io/badge/semver-2.0.0-blue
    :target: https://semver.org/
    :alt: Follows the Semantic Versioning 2.0.0 spec
.. image:: https://img.shields.io/pypi/pyversions/mocksafe.svg
    :target: https://pypi.org/project/mocksafe
    :alt: Supported versions
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code style: black
.. image:: http://www.mypy-lang.org/static/mypy_badge.svg
    :target: http://mypy-lang.org/
    :alt: Type checked by mypy
.. image:: https://img.shields.io/badge/License-MIT-green.svg
    :target: https://github.com/dmayo3/mocksafe/blob/main/LICENSE
    :alt: MIT License

MockSafe v0.6.0-alpha
---------------------

A mocking library developed to enable static and runtime type checking of your mocks to help keep them up-to-date with your production code.

It has a simple, fluent API and is designed to be used with Python's `assert` statement.

Checkout the docs link below for more information.

Install and quickstart
----------------------

::

    pip install mocksafe

`Library Usage <https://mocksafe.readthedocs.io/en/0.6/usage.html>`_

Links
----------------------

:Install: `PyPi <https://pypi.org/project/mocksafe>`_
:Docs:    `Read The Docs <https://mocksafe.readthedocs.io/en/0.6/>`_
:License: `MIT <https://github.com/dmayo3/mocksafe/blob/main/LICENSE>`_
:Source:  `GitHub <https://github.com/dmayo3/mocksafe>`_
:Issues:  `GitHub Issues <https://github.com/dmayo3/mocksafe/issues>`_
:Discussion:  `Questions & Feedback <https://github.com/dmayo3/mocksafe/discussions>`_

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mocksafe",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "mock,mocking,typed,typing,typesafe,testing,tests,mocks,magicmock,unittest,stubbing",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/3f/a7/60f28d546f887bd76225afa8130d7dc0fd7e6cea62e7a8ca66c63e7f37fa/mocksafe-0.6.0a0.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml/badge.svg\n    :target: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml?query=branch%3Amain\n    :alt: Github Actions Status\n.. image:: https://codecov.io/gh/dmayo3/mocksafe/branch/main/graph/badge.svg?token=S3JI6OOTGF \n    :target: https://codecov.io/gh/dmayo3/mocksafe\n.. image:: https://readthedocs.org/projects/mocksafe/badge/?version=stable\n    :target: https://mocksafe.readthedocs.io/en/stable/?badge=stable\n    :alt: Documentation Status\n.. image:: https://badge.fury.io/py/mocksafe.svg\n    :target: https://badge.fury.io/py/mocksafe\n    :alt: PyPI Package\n.. image:: https://img.shields.io/badge/semver-2.0.0-blue\n    :target: https://semver.org/\n    :alt: Follows the Semantic Versioning 2.0.0 spec\n.. image:: https://img.shields.io/pypi/pyversions/mocksafe.svg\n    :target: https://pypi.org/project/mocksafe\n    :alt: Supported versions\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code style: black\n.. image:: http://www.mypy-lang.org/static/mypy_badge.svg\n    :target: http://mypy-lang.org/\n    :alt: Type checked by mypy\n.. image:: https://img.shields.io/badge/License-MIT-green.svg\n    :target: https://github.com/dmayo3/mocksafe/blob/main/LICENSE\n    :alt: MIT License\n\nMockSafe v0.6.0-alpha\n---------------------\n\nA mocking library developed to enable static and runtime type checking of your mocks to help keep them up-to-date with your production code.\n\nIt has a simple, fluent API and is designed to be used with Python's `assert` statement.\n\nCheckout the docs link below for more information.\n\nInstall and quickstart\n----------------------\n\n::\n\n    pip install mocksafe\n\n`Library Usage <https://mocksafe.readthedocs.io/en/0.6/usage.html>`_\n\nLinks\n----------------------\n\n:Install: `PyPi <https://pypi.org/project/mocksafe>`_\n:Docs:    `Read The Docs <https://mocksafe.readthedocs.io/en/0.6/>`_\n:License: `MIT <https://github.com/dmayo3/mocksafe/blob/main/LICENSE>`_\n:Source:  `GitHub <https://github.com/dmayo3/mocksafe>`_\n:Issues:  `GitHub Issues <https://github.com/dmayo3/mocksafe/issues>`_\n:Discussion:  `Questions & Feedback <https://github.com/dmayo3/mocksafe/discussions>`_\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Daniel Mayo  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A mocking library developed to enable static and runtime type checking of your mocks to keep them in sync with production code.",
    "version": "0.6.0a0",
    "project_urls": {
        "Documentation": "https://mocksafe.readthedocs.io/en/0.6/",
        "Source": "https://github.com/dmayo3/mocksafe"
    },
    "split_keywords": [
        "mock",
        "mocking",
        "typed",
        "typing",
        "typesafe",
        "testing",
        "tests",
        "mocks",
        "magicmock",
        "unittest",
        "stubbing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f47237ea3e9b8bf732c7d2193ebd89d8be51bee928facb4aebc8bd3cc47b8f2c",
                "md5": "6b7dccdecda1803f534eed9e7ccbcd9e",
                "sha256": "7d503d2775b0c6df656f4be94cdca8ee8e2df3b79843e18291d4f2d714704c58"
            },
            "downloads": -1,
            "filename": "mocksafe-0.6.0a0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6b7dccdecda1803f534eed9e7ccbcd9e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 16579,
            "upload_time": "2023-05-25T16:42:15",
            "upload_time_iso_8601": "2023-05-25T16:42:15.415835Z",
            "url": "https://files.pythonhosted.org/packages/f4/72/37ea3e9b8bf732c7d2193ebd89d8be51bee928facb4aebc8bd3cc47b8f2c/mocksafe-0.6.0a0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3fa760f28d546f887bd76225afa8130d7dc0fd7e6cea62e7a8ca66c63e7f37fa",
                "md5": "af3fe90eeb828ff859ba5f518afc75f5",
                "sha256": "a9bba2923bb80a106ee997944aec6899fece9c61bb2fd0af551c574fd9cf0b2a"
            },
            "downloads": -1,
            "filename": "mocksafe-0.6.0a0.tar.gz",
            "has_sig": false,
            "md5_digest": "af3fe90eeb828ff859ba5f518afc75f5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 16027,
            "upload_time": "2023-05-25T16:42:17",
            "upload_time_iso_8601": "2023-05-25T16:42:17.248255Z",
            "url": "https://files.pythonhosted.org/packages/3f/a7/60f28d546f887bd76225afa8130d7dc0fd7e6cea62e7a8ca66c63e7f37fa/mocksafe-0.6.0a0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-25 16:42:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dmayo3",
    "github_project": "mocksafe",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "mocksafe"
}
        
Elapsed time: 0.07621s