{"library":"httpretty","type":"library","category":null,"description":"HTTPretty is an HTTP client mocking tool for Python (current version 1.1.4) that works by monkey-patching the standard library's `socket` and `ssl` modules. This allows it to intercept HTTP requests at a low level, faking responses for any HTTP client that relies on these modules, such as `requests` or `urllib3`. It is suitable for testing API integrations and handling external service dependencies. Releases are somewhat irregular but include bug fixes and Python version support updates.","language":"python","status":"active","version":"1.1.4","tags":["mocking","http","testing","api","network"],"last_verified":"Thu May 21","install":[{"cmd":"pip install httpretty","imports":["import httpretty"]}],"homepage":"https://httpretty.readthedocs.io/en/latest/","github":"https://github.com/gabrielfalcao/HTTPretty","docs":"https://httpretty.readthedocs.io/en/latest/","changelog":null,"pypi":"https://pypi.org/project/httpretty/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.4,"avg_import_s":0.2,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/httpretty/compatibility"}}