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.3.1

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.3.1
File Size Uploaded Provenance Actions
keboola_vcr-0.3.1.tar.gz 29.2 kB Without provenance Details for keboola_vcr-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 61.0 kB

Release files / keboola_vcr-0.3.1.tar.gz

Download URL keboola_vcr-0.3.1.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e2b9a4c1e8d54ee0d720ab9dcff76f0b924dfd6f0bf551739ed1a3af296cf5c0
BLAKE2b-256 checksum
How to use checksums
b3dccd78cf0e685fe7eeb515df64cda858e2f196cc2f40f5f349ee1803e729ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL keboola_vcr-0.3.1-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbde63cc44978084fdc691bbb06ffaafcda23a9acb5d1e5604f42950741675a3
BLAKE2b-256 checksum
How to use checksums
2a5f8a109dcfb116a464675fa62a2dbf062c2c87284ab45e5a48608c35aad74d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for keboola.vcr 0.3.1

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