{"added":null,"apiVersion":1,"behindSince":"2026-07-05","buildDepends":[],"categories":["devel","python","www"],"comment":"Automatically mock HTTP interactions to simplify and speed up testing","compare":"/compare/py312-vcrpy/index.json","dependentCount":null,"description":"VCR.py simplifies and speeds up tests that make HTTP requests. The first\ntime you run code that is inside a VCR.py context manager or decorated\nfunction, VCR.py records all HTTP interactions that take place through\nthe libraries it supports and serializes and writes them to a flat file\n(in yaml format by default). This flat file is called a cassette.\n\nWhen the relevant piece of code is executed again, VCR.py will read the\nserialized requests and responses from the aforementioned cassette file,\nand intercept any HTTP requests that it recognizes from the original test\nrun and return the responses that corresponded to those requests. This\nmeans that the requests will not actually result in HTTP traffic, which\nconfers several benefits including:\n\n * The ability to work offline\n * Completely deterministic tests\n * Increased test execution speed","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-vcrpy/","kind":"port","lastUpdate":null,"license":["MIT"],"maintainer":"bofh@FreeBSD.org","name":"py311-vcrpy","newest":false,"newestVersion":"8.3.0","noVulnData":false,"origin":"devel/py-vcrpy","otherSystems":[{"maintainer":"bofh@FreeBSD.org","newest":true,"origin":"devel/py-vcrpy","path":"/devel/py-vcrpy/","system":"FreeBSD","updated":"2026-07-12","version":"8.3.0"},{"behindSince":"2026-07-05","maintainer":"ports@MidnightBSd.org","noVulnData":true,"origin":"devel/py-vcrpy","path":"/midnightbsd/devel/py-vcrpy/","system":"MidnightBSD","updated":"2026-09-16","version":"7.0.0_3"},{"maintainer":"bofh@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-vcrpy","path":"","system":"HardenedBSD","version":"8.3.0"},{"maintainer":"bofh@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-vcrpy","path":"","system":"GhostBSD","version":"8.3.0"}],"packages":null,"pkgName":"py311-vcrpy-7.0.0_1","related":null,"repository":"DPorts","requiredBy":["devel/py-pytest-recording","www/py-habanero"],"requiredByCount":2,"runDepends":["devel/py-pyyaml","devel/py-six","devel/py-wrapt","lang/python311","www/py-yarl"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"7.0.0_1","versions":null,"vulnerabilities":null,"www":"https://github.com/kevin1024/vcrpy"}
