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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| keboola_vcr-0.2.0.tar.gz | 28.8 kB | Without provenance | Details for keboola_vcr-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keboola_vcr-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for keboola_vcr-0.2.0-py3-none-any.whl |
Total release size: 60.3 kB
Release files / keboola_vcr-0.2.0.tar.gz
| Download URL | keboola_vcr-0.2.0.tar.gz |
|---|---|
| Size | 28.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19b7b52930231b6f835687b2cd0006d7b079943f31a01679a914b9714c989c25
|
|
BLAKE2b-256 checksum How to use checksums |
962567763a92e7d06cb94ac7242078d69acb565c704e890aff22662192703f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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.2.0-py3-none-any.whl
| Download URL | keboola_vcr-0.2.0-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9f6f987bdc995e33e8ef1dfbbdb77a09322ffb318790147bf8c0e58de06cc51
|
|
BLAKE2b-256 checksum How to use checksums |
81426a044f9df679a0d581ec8ea9fbdf3dfd02262feebd8c08916dde7387f526
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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.2.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.