VCR.py
Python library that records HTTP interactions on first run and replays them in subsequent tests, making suites deterministic and fast.
Our Verdict
A powerful pattern for third-party API tests, but stale cassettes cause more pain than most teams expect.
Pros
- Records real HTTP once, replays forever
- Tests become deterministic and fast
- Cassettes commit to git for reproducibility
- Works across requests, urllib, httpx
Cons
- Stale cassettes silently hide API changes
- Secrets leak into cassettes without filtering
- Re-recording cassettes is tedious at scale
Best for: Python projects with many third-party HTTP integrations needing fast test runs
Not for: Fast-moving external APIs where cassette drift hides real regressions
When to Use VCR.py
Good fit if you need
- Record real HTTP interactions as cassettes for Python tests
- Deterministic test runs replaying recorded API responses
- Avoid flaky tests caused by live third-party API changes
- Speed up Python tests by eliminating network latency
Lock-in Assessment
Low 5/5
Lock-in Score 5/5
Pricing
Price wrong?VCR.py Pricing
- Pricing Model
- free
- Free Tier
- Yes
- Entry Price
- —
- Enterprise Available
- No
- Transparency Score
- —
Beta — estimates may differ from actual pricing
1,000
1001K10K100K1M
Estimated Monthly Cost
$25
Estimated Annual Cost
$300
Estimates are approximate and may not reflect current pricing. Always check the official pricing page.
Project Health
B
Health Score
3.0k 425
Bus Factor
10
Last Commit
9 days
Release Freq
114d
Open Issues
164
Issue Response
N/A
License
MIT
Last checked: 2026-04-21
Community Discussion
Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.