$npx skillfedfor your agent

vcrpy-unittest

Python unittest integration for vcr.py

SkipPyPI Build ToolsReleased Sep 201887.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — vcrpy_unittest-0.1.7-py2.py3-none-any.whl
v0.1.7 · released 2018-09-25 · 1 runtime deps: vcrpy

No. The package is abandoned (last release 2018-09-25, repository archived) with no activity for over 2880 days. Compatibility with modern Python versions and current vcrpy releases is unverified. While the concept is sound and the MIT license is permissive, the lack of maintenance creates risk for new projects. Consider using vcrpy directly with unittest, or evaluate actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires vcrpy as a runtime dependency; cassettes are stored in a 'cassettes' subdirectory by default relative to the test file.
  • Low install friction with a single runtime dependency on vcrpy.
  • However, the package is abandoned—last release was 2018-09-25 and the repository was archived.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Suitable for both open-source and proprietary projects.

last release 2018-09-25 (2880 days) · last repo commit 2020-09-14 · 43 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,842 downloads/mo, #13,765 on PyPI

Verify before relying

pip install vcrpy-unittest

from vcr_unittest import VCRTestCase

class MyTestCase(VCRTestCase):
    def test_something(self):
        self.assertEqual(len(self.cassette), 1)
  • Compatibility with current vcrpy versions and modern Python releases (last tested with Python 3.7)
  • Whether the package works with unittest features added after 2018
  • Active maintenance status or community forks that may have continued development
Same gist for agents: .md · .json

What it is and what it does

vcrpy-unittest bridges vcrpy and Python's unittest framework by providing VCRTestCase, a base class that automatically handles HTTP cassette recording and playback. Instead of manually wrapping test methods with VCR context managers, you inherit from VCRTestCase and write normal unittest code; the class intercepts HTTP calls, records them to YAML files on first run, and replays them on subsequent runs. It also exposes the cassette object as self.cassette so you can make assertions about recorded interactions.

The package is lightweight—it depends only on vcrpy—and offers customization hooks (_get_vcr_kwargs, _get_cassette_library_dir, _get_cassette_name, _get_vcr) to control cassette location, naming, and VCR configuration. A VCRMixin variant is available for cases where inheriting from VCRTestCase conflicts with existing class hierarchies.

Use it for

  • Write integration tests that record live HTTP interactions on first run, then replay recorded responses in CI/CD pipelines without network access.
  • Test code that depends on external APIs by recording interactions once, then running tests offline with deterministic responses.
  • Verify HTTP request details by inspecting self.cassette.requests and self.cassette after a test executes.
  • Add custom VCR matchers to control how recorded requests are matched during playback.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release 2018-09-25, repository archived) with no activity for over 2880 days. Compatibility with modern Python versions and current vcrpy releases is unverified. While the concept is sound and the MIT license is permissive, the lack of maintenance creates risk for new projects. Consider using vcrpy directly with unittest, or evaluate actively maintained alternatives.

Install

vcrpy-unittest on PyPI

Before you install

Low install friction with a single runtime dependency on vcrpy. However, the package is abandoned—last release was 2018-09-25 and the repository was archived. No updates have been made in over 2880 days, so compatibility with modern Python or vcrpy versions is uncertain.

Requires vcrpy as a runtime dependency; cassettes are stored in a 'cassettes' subdirectory by default relative to the test file.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Suitable for both open-source and proprietary projects.

Quickstart

pip install vcrpy-unittest

from vcr_unittest import VCRTestCase

class MyTestCase(VCRTestCase):
    def test_something(self):
        self.assertEqual(len(self.cassette), 1)

Verify before relying

  • Compatibility with current vcrpy versions and modern Python releases (last tested with Python 3.7)
  • Whether the package works with unittest features added after 2018
  • Active maintenance status or community forks that may have continued development

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
vcrpy
MaintenanceAbandoned 2,880 days since the last release
Last repo commit repository archived
First released
Downloads87,842 / month, #13,765 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: Build Tools

Evidence: vcrpy_unittest-0.1.7-py2.py3-none-any.whl

Tags

Capabilities
unittest http mockingvcr.py integrationhttp cassette recordingtest http interactionshttp replay testingmock http requests testingvcr unittest base class
Topics
http-mockingtest-fixtures
PyPI keywords
vcrpyvcr.pyunittesttestingmockhttp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “unittest http mocking”

  • vcrpy-unittestProvides a unittest base class that automatically records and replays…
  • pyfakefspyfakefs mocks the Python file system modules to run tests against an…
  • flexmockflexmock creates mock, stub, spy, and fake objects for testing Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also vcrpy · pytest-vcr · pytest-recording · keboola.vcr · unittest2 · parametrize · betamax · pytest-httpbin · asserts · easypost