devel/py-vcrpy 7.0.0_1 DragonFly
Automatically mock HTTP interactions to simplify and speed up testing
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python, www
- Package size
- 85.0 KiB, 473.1 KiB installed
Description
VCR.py simplifies and speeds up tests that make HTTP requests. The first time you run code that is inside a VCR.py context manager or decorated function, VCR.py records all HTTP interactions that take place through the libraries it supports and serializes and writes them to a flat file (in yaml format by default). This flat file is called a cassette.
When the relevant piece of code is executed again, VCR.py will read the serialized requests and responses from the aforementioned cassette file, and intercept any HTTP requests that it recognizes from the original test run and return the responses that corresponded to those requests. This means that the requests will not actually result in HTTP traffic, which confers several benefits including:
* The ability to work offline * Completely deterministic tests * Increased test execution speed
In the other systems
The newest version among them is 8.3.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-vcrpy | 7.0.0_1 behind since 2026-07-05 | none known | - | [email protected] | - |
| FreeBSD | devel/py-vcrpy | 8.3.0 newest | none known | - | [email protected] | 2026-07-12 |
| MidnightBSD | devel/py-vcrpy | 7.0.0_3 behind since 2026-07-05 | no data | - | [email protected] | 2026-09-16 |
| HardenedBSD | devel/py-vcrpy | 8.3.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-vcrpy | 8.3.0 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-vcrpy
From DPorts:
cd /usr/dports/devel/py-vcrpy && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.