Metadata-Version: 2.1
Name: respx
Version: 0.13.0
Summary: A utility for mocking out the Python HTTPX and HTTP Core libraries.
Home-page: https://github.com/lundberg/respx
Author: Jonas Lundberg
Author-email: jonas@5monkeys.se
License: BSD
Description: # RESPX
        
        ![](https://github.com/lundberg/respx/workflows/test/badge.svg)
        [![codecov](https://codecov.io/gh/lundberg/respx/branch/master/graph/badge.svg)](https://codecov.io/gh/lundberg/respx)
        [![PyPi Version](https://img.shields.io/pypi/v/respx.svg)](https://pypi.org/project/respx/)
        [![Python Versions](https://img.shields.io/pypi/pyversions/respx.svg)](https://pypi.org/project/respx/)
        
        A utility for mocking out the Python [HTTPX](https://github.com/encode/httpx) and [HTTP Core](https://github.com/encode/httpcore/) libraries.
        
        ## Documentation
        
        Full documentation is available at [lundberg.github.io/respx](https://lundberg.github.io/respx/)
        
        ### QuickStart
        
        ``` python
        import httpx
        import respx
        
        
        @respx.mock
        def test_something():
            request = respx.post("https://foo.bar/baz/", status_code=201)
            response = httpx.post("https://foo.bar/baz/")
            assert request.called
            assert response.status_code == 201
        ```
        
Keywords: httpx,httpcore,mock,responses,requests,async,http
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
