Installation

pytest_httpx_recorder is currently hosted on PyPI. It required python >= 3.8.

You can simply install pytest_httpx_recorder from PyPI with the following command:

pip install pytest_httpx_recorder

You can also install with the newest version through GitHub:

pip install -U git+https://github.com/narugo1992/pytest_httpx_recorder@main

You can check your installation by the following python script:

1from pytest_httpx_recorder.config.meta import __TITLE__, __AUTHOR__, __VERSION__, __DESCRIPTION__
2
3if __name__ == '__main__':
4    print(__TITLE__, __VERSION__)
5    print('Developed and maintained by', __AUTHOR__)
6    print(__DESCRIPTION__)

The output should be like below, which means your installation is successful.

1pytest_httpx_recorder 0.0.1
2Developed and maintained by narugo1992
3Recorder feature based on pytest_httpx, like recorder feature in responses.

pytest_httpx_recorder is still under development, you can also check out the documents in stable version through https://narugo1992.github.io/pytest_httpx_recorder/main/index.html.