kevin1024/vcrpy
Automatically mock your HTTP interactions to simplify and speed up testing observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 91
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 27
- age_days: 5209
- days_rel: 60
- days_push: 8
- n_releases_24m: 8
Adoption not part of the score
2981 stars · 436 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
VCR.py is a Python library that records HTTP interactions to cassette files and replays them in later test runs, eliminating real network traffic. It is a Python port of Ruby's VCR library and supports pytest via pytest-recording.
Use cases
- record and replay http requests in python tests
- make tests deterministic without hitting real apis
- speed up test suite by mocking http interactions
- run tests offline
- update recorded api responses when the api changes
When to choose
- your python tests make http requests and you want fast, deterministic, offline runs
- you want record-once replay-many behavior like Ruby's VCR
- you use pytest and want cassette-based fixtures
When to avoid
- you need to mock non-HTTP protocols
- you want hand-written mocks with fine-grained assertions rather than recorded responses
- you are testing the live behavior of an external API itself
Facets
library · maturity active
mocking testing http-client serialization testing developer-tools apis python cli http-mocking vcr cassette record-replay pytest python
2 sources
- readme: https://github.com/kevin1024/vcrpy · fetched 2026-08-28 · e4b39fc3da99
- registry_pypi: https://pypi.org/pypi/vcrpy/json · fetched 2026-08-29 · 6c9a98127e67
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kevin1024/vcrpy | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem