Skip to main content

keboola.vcr

VCR recording, sanitization, and validation for Keboola component HTTP interactions.

Installation

pip install keboola.vcr

Usage

from keboola.vcr.recorder import VCRRecorder
from keboola.vcr.sanitizers import DefaultSanitizer

recorder = VCRRecorder(
    cassette_dir="tests/cassettes/my_test",
    secrets={"api_key": "secret"},
)

Features

  • Recording: Captures real HTTP interactions via vcrpy and stores them as JSON cassettes
  • Sanitization: Redacts secrets, tokens, and sensitive fields before saving cassettes
  • Scaffolding: Generates test directory structures from component config definitions
  • Validation: Compares output snapshots to detect regressions

Development

uv sync --all-groups
uv run pytest tests/

Metadata

Release files for keboola.vcr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keboola.vcr 0.1.0
File Size Uploaded Provenance Actions
keboola_vcr-0.1.0.tar.gz 23.7 kB Without provenance Details for keboola_vcr-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keboola.vcr 0.1.0
File Interpreter ABI Platform Actions
keboola_vcr-0.1.0-py3-none-any.whl Python 3 none any Details for keboola_vcr-0.1.0-py3-none-any.whl

Total release size: 50.1 kB

Release files / keboola_vcr-0.1.0.tar.gz

Download URL keboola_vcr-0.1.0.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a243bed8855a014c05ec33b2338443057a8af3f27a0f8d1ab9b9737e98ec2f69
BLAKE2b-256 checksum
How to use checksums
bee10c3add03db79af0d987a98785cae167b18f5d963e100f82e28a15b652461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / keboola_vcr-0.1.0-py3-none-any.whl

Download URL keboola_vcr-0.1.0-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a922aa13b93a9abcc2dbfdd83371879d2cb8790b002a8b8c1882aa6d0bb861de
BLAKE2b-256 checksum
How to use checksums
380af66e205debd0e959c2021fd1aa1901036a94eeded672bad6e06c68f0457e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for keboola.vcr 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page