{"library":"asyncmock","type":"library","category":null,"description":"asyncmock is a Python library that extends the standard `unittest.mock` framework to provide robust support for mocking asynchronous functions and coroutines. It's particularly useful for testing async codebases in Python versions prior to 3.8 (where `unittest.mock.AsyncMock` was introduced). The current version is 0.4.2, and while stable, the project has a slow release cadence, with the latest significant updates being several years ago.","language":"python","status":"active","version":"0.4.2","tags":["async","testing","mocking","unittest"],"last_verified":"Sun May 24","install":[{"cmd":"pip install asyncmock","imports":["from asyncmock import AsyncMock","from unittest.mock import patch"]}],"homepage":null,"github":"https://github.com/timsavage/asyncmock","docs":null,"changelog":null,"pypi":"https://pypi.org/project/asyncmock/","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.33,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/asyncmock/compatibility"}}