{"library":"types-mock","type":"library","category":null,"description":"This package provides high-quality type stubs for the `mock` library (and by extension, `unittest.mock` from the standard library), enabling static type checkers like `mypy` to understand and validate usage of mock objects. Part of the `typeshed` project, it is actively maintained with a continuous release cadence reflecting updates to the stubs. The current version is 5.2.0.20260408.","language":"python","status":"active","version":"5.2.0.20260408","tags":["types","type-hints","mypy","testing","mocking","static-analysis"],"last_verified":"Wed May 20","install":[{"cmd":"pip install types-mock","imports":["from unittest.mock import Mock","from unittest.mock import patch"]}],"homepage":null,"github":"https://github.com/typeshed-internal/stub_uploader","docs":null,"changelog":"https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/mock.md","pypi":"https://pypi.org/project/types-mock/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.35,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/types-mock/compatibility"}}