{"library":"pytest-httpserver","type":"library","category":null,"description":"pytest-httpserver is a Python package that allows you to start a real HTTP server for your tests. The server can be programmatically configured to respond to requests, providing an easy-to-use API to set up request handlers and shut down gracefully without configuration files or daemons. As the HTTP server runs in a separate thread and listens on a TCP port, it's compatible with any HTTP client. This library facilitates testing HTTP client applications and migrating between client libraries without rewriting tests. It is currently at version 1.1.5 and maintains an active release cadence, with multiple patch releases often occurring monthly or every few months.","language":"python","status":"active","version":"1.1.5","tags":["pytest","testing","http","mocking","server","web development"],"install":[{"cmd":"pip install pytest-httpserver","imports":["def test_my_app(httpserver):","from pytest_httpserver import HTTPServer"]}],"homepage":null,"github":"https://github.com/csernazs/pytest-httpserver","docs":"https://pytest-httpserver.readthedocs.io/en/latest/","changelog":null,"pypi":"https://pypi.org/project/pytest-httpserver/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.8,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-httpserver/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}