Skip to main content

kassette

Another kubernetes testing tools

It takes inspiration from ruby https://github.com/vcr/vcr applied to kubernetes resources for testing purposes.

Features

  • take a yaml snapshot of the defined (from global configuration kassette.yaml and the ones from examples folder) kubernetes resource cluster and save it: kassette record
  • compare the recorded yaml snapshot with the current kubernetes cluster state: kassette diff
  • you can also do mass modification of all the resources in the snapshot with kassette modify command

Installation

pip install kassette-k8s

The package is named kassette-k8s, but the installed command is kassette.

Usage

For usage details, see: kassette [COMMAND] --help

kassette reads kassette.yaml and the examples folder from the current directory.

Requirements

This tools require the kubectl cli, it will use exclusively the get subcommand to retrieve the kubernetes resources.

Requires python 3.10+ (tested with python 3.12).

Contribution

Requires pipenv.

pipenv sync --dev
pipenv run pip install -e .
pipenv run bin/test
pipenv run bin/lint

Next steps

  • use CI to run tests and linting

Metadata

Release files for kassette-k8s 0.0.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 kassette-k8s 0.0.1
File Size Uploaded Provenance
kassette_k8s-0.0.1.tar.gz 14.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kassette-k8s 0.0.1
File Interpreter ABI Platform
kassette_k8s-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.8 kB

Release files / kassette_k8s-0.0.1.tar.gz

Download URL kassette_k8s-0.0.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3289169874d6b8b4665da212dd825b09fc633e2f7d0e45ef05b95d039b1b5c52
BLAKE2b-256 checksum
How to use checksums
9c79b761044ee1bb81386b28b5372b83e0d8be9debc901c4d9aad6eb524c5f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / kassette_k8s-0.0.1-py3-none-any.whl

Download URL kassette_k8s-0.0.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02b6695d38cddd5ea2c5893fd8e2a48174771c5dc67b6ae3e28df74bf8285383
BLAKE2b-256 checksum
How to use checksums
7801796ed03acc2ea345038be258d3cbb5e37194ddc53a0a539b4a6ede12229f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Security for kassette-k8s 0.0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kassette_k8s-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

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