$npx skillfedfor your agent

betamax

A VCR imitation for python-requests

With conditionsPyPI Python ModulesReleased Feb 202485.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — betamax-0.9.0-py2.py3-none-any.whl
v0.9.0 · released 2024-02-08 · Python >=3.8.1 · 1 runtime deps: requests

Yes, if you need HTTP request mocking for requests-based code. Betamax is stable, permissively licensed, and has low install friction. No vulnerabilities are reported. The dormant maintenance is a minor concern—verify that it works with your current Python and requests versions before adopting it in a new project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8.1 or later and the requests library installed.
  • Low install friction with a single runtime dependency (requests).
  • Maintenance is dormant—last release was 2024-02-08—but the package is marked Production/Stable and the repository remains unarchived.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

last release 2024-02-08 (918 days) · last repo commit 2024-05-06 · 583 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,678 downloads/mo, #13,907 on PyPI

Verify before relying

pip install betamax

from betamax import Betamax
from requests import Session

with Betamax.configure() as config:
    config.cassette_library_dir = 'tests/fixtures/cassettes'

with Betamax(Session()).use_cassette('example'):
    resp = Session().get('https://api.example.com/data')
  • Whether cassette format remains compatible with current VCR versions beyond what the description states.
  • Current test coverage and whether the dormant maintenance status affects reliability for new Python releases.
  • How long the package can remain viable without active maintenance as Python and requests evolve.
Same gist for agents: .md · .json

What it is and what it does

Betamax is a VCR-style HTTP interaction recorder and replayer for the requests library. It intercepts HTTP requests made during tests, matches them against previously recorded interactions stored in cassette files, and either returns the recorded response or records a new one if allowed. This eliminates the need for live API calls during testing, making tests faster, more reliable, and independent of external service availability.

You configure a cassette library directory, wrap your requests.Session in a Betamax context manager, and specify which cassette to use. On first run, real requests are made and recorded; on subsequent runs, the recorded responses are replayed. The package supports Python 3.8, 3.9, 3.10, 3.11 and PyPy, though development has been dormant since the last release in 2024-02-08.

Use it for

  • Write unit tests for code that calls external APIs without requiring those services to be running or available.
  • Record real API responses once, then replay them consistently across CI/CD pipelines and local development.
  • Test error handling and edge cases by editing cassette files to inject specific response scenarios.
  • Speed up test suites by eliminating network latency from HTTP-dependent tests.
  • Ensure test reproducibility by decoupling test execution from third-party API changes or downtime.

Worth the install?

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

With conditions

Yes, if you need HTTP request mocking for requests-based code.

Betamax is stable, permissively licensed, and has low install friction. No vulnerabilities are reported. The dormant maintenance is a minor concern—verify that it works with your current Python and requests versions before adopting it in a new project.

Install

betamax on PyPI

Before you install

Low install friction with a single runtime dependency (requests). Maintenance is dormant—last release was 2024-02-08—but the package is marked Production/Stable and the repository remains unarchived.

Requires Python 3.8.1 or later and the requests library installed.

License in practice

Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

Quickstart

pip install betamax

from betamax import Betamax
from requests import Session

with Betamax.configure() as config:
    config.cassette_library_dir = 'tests/fixtures/cassettes'

with Betamax(Session()).use_cassette('example'):
    resp = Session().get('https://api.example.com/data')

Verify before relying

  • Whether cassette format remains compatible with current VCR versions beyond what the description states.
  • Current test coverage and whether the dormant maintenance status affects reliability for new Python releases.
  • How long the package can remain viable without active maintenance as Python and requests evolve.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8.1
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceDormant 918 days since the last release
Last repo commit
First released
Downloads85,678 / month, #13,907 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 :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: betamax-0.9.0-py2.py3-none-any.whl

Tags

Capabilities
HTTP request mockingVCR for requestsrecord replay HTTPAPI testing without networkcassette-based request mockingrequests library test fixturesmock external API calls
Topics
testinghttp-mockingvcr-compatible

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 › “cassette-based request mocking”

  • betamaxBetamax records and replays HTTP interactions made through the…
  • pytest-vcrA pytest plugin that integrates VCR.py to record and replay HTTP…
  • vcrpyVCR.py records HTTP interactions during test runs and replays them on…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also vcrpy · pytest-recording · keboola.vcr · pytest-vcr · placebo · urllib3-mock · httmock · responses · respx · pytest-responses