Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

JANUARY 2015 :: HTTREPLAY IS NOW END-OF-LIFED. I strongly recommend using vcr.py, which these days has a larger community, a richer feature set, and is better maintained. I will keep HTTReplay on PyPi for now just so that nobody gets caught out. But please do migrate to vcr.py when you have an opporunity. Thanks!

HTTReplay is a Python HTTP (and HTTPS!) replay library for testing.

The library supports the recording and replay of network requests made via httplib, requests >= 1.2.3 (including requests 2.x), and urllib3 >= 0.6.

Here’s a very simple example of how to use it:

import requests
from httreplay import replay

with replay('/tmp/recording_file.json'):
    result = requests.get("http://example.com/")
    # ... issue as many requests as you like ...
    # ... repeated requests won't hit the network ...

There’s a lot more you can do. Full documentation is available from the httreplay github page.

Metadata

Release files for httreplay 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httreplay 0.2.0
File Size Uploaded Provenance Actions
httreplay-0.2.0.tar.gz 8.5 kB Without provenance Details for httreplay-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for httreplay 0.2.0
File Interpreter ABI Platform Actions
httreplay-0.2.0.macosx-10.10-x86_64.exe Details for httreplay-0.2.0.macosx-10.10-x86_64.exe

Total release size: 82.5 kB

Release files / httreplay-0.2.0.tar.gz

Download URL httreplay-0.2.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dce205393b19f9a6e052ec84104bdbe4f10b70f7db7a40b09a2b3c904760b90c
BLAKE2b-256 checksum
How to use checksums
a2bb3b08945d995d559051f4a985f823af38c4bec8fec6a42222a211f2187376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / httreplay-0.2.0.macosx-10.10-x86_64.exe

Download URL httreplay-0.2.0.macosx-10.10-x86_64.exe
Size 74.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7feefbc756e7f25315718b693978113b49ca989397d3c6f9e428637e604251c4
BLAKE2b-256 checksum
How to use checksums
b453dfca7d0894dc9935d120d1887783a6c261cf4c155d7a21e69592c0b23c6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for httreplay 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page