mocksafe


Namemocksafe JSON
Version 0.9.0b0 PyPI version JSON
download
home_pageNone
SummaryA mocking library developed to enable static and runtime type checking of your mocks to keep them in sync with production code.
upload_time2024-10-18 16:02:45
maintainerNone
docs_urlNone
authorNone
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
            .. 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=latest
    :target: https://mocksafe.readthedocs.io/en/latest/?badge=latest
    :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.9.0-beta
---------------------

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": null,
    "name": "mocksafe",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "mock, mocking, typed, typing, typesafe, testing, tests, mocks, magicmock, unittest, stubbing",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d9/60/d3a89efe7a22c87c40b2bdcd08be6f2c1872d234c30e9eb7b6b3d7a2914a/mocksafe-0.9.0b0.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=latest\n    :target: https://mocksafe.readthedocs.io/en/latest/?badge=latest\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.9.0-beta\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.9.0b0",
    "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": "334c06c12c053b11b429afa1524e644c156b6f1c39863f5657ef888402a78e76",
                "md5": "6adb1b592519f7cdf25de9386808cf28",
                "sha256": "83ae3e68a84124d788dc6ad0bc8781c2b2d212028f273f4a235a641ff6b7412c"
            },
            "downloads": -1,
            "filename": "mocksafe-0.9.0b0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6adb1b592519f7cdf25de9386808cf28",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 19850,
            "upload_time": "2024-10-18T16:02:44",
            "upload_time_iso_8601": "2024-10-18T16:02:44.450648Z",
            "url": "https://files.pythonhosted.org/packages/33/4c/06c12c053b11b429afa1524e644c156b6f1c39863f5657ef888402a78e76/mocksafe-0.9.0b0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d960d3a89efe7a22c87c40b2bdcd08be6f2c1872d234c30e9eb7b6b3d7a2914a",
                "md5": "bb7163177bcf24f981f01992903e055e",
                "sha256": "e0668458297922ce05462aec7d9467a666fd7860d7e660d356a4924e8739f75c"
            },
            "downloads": -1,
            "filename": "mocksafe-0.9.0b0.tar.gz",
            "has_sig": false,
            "md5_digest": "bb7163177bcf24f981f01992903e055e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 18839,
            "upload_time": "2024-10-18T16:02:45",
            "upload_time_iso_8601": "2024-10-18T16:02:45.404702Z",
            "url": "https://files.pythonhosted.org/packages/d9/60/d3a89efe7a22c87c40b2bdcd08be6f2c1872d234c30e9eb7b6b3d7a2914a/mocksafe-0.9.0b0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-18 16:02:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dmayo3",
    "github_project": "mocksafe",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "mocksafe"
}
        
Elapsed time: 0.34539s