Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

secret-kernel-testing

Shared provider contract tests for Secret Kernel provider authors.

uv add --dev secret-kernel-testing

Usage

from secret_kernel.provider_in_memory import (
    InMemoryProviderOptions,
    create_in_memory_client,
)
from secret_kernel.testing import assert_client_contract


async def test_in_memory_contract() -> None:
    await assert_client_contract(
        lambda options, secrets: create_in_memory_client(
            options, InMemoryProviderOptions(secrets=secrets)
        )
    )

assert_client_contract is a coroutine, so it runs from an async test — under pytest, through a plugin such as pytest-asyncio.

The contract verifies decrypted reads, name resolution, shared parsing behavior and missing-secret errors.

Documentation

The normative public surface is in docs/secret-kernel-api-reference.md.

License

MIT

Metadata

Release files for secret-kernel-testing 0.1.0a10

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

Source distribution (sdist)

Source distribution for secret-kernel-testing 0.1.0a10
File Size Uploaded Provenance Actions
secret_kernel_testing-0.1.0a10.tar.gz 3.0 kB Without provenance Details for secret_kernel_testing-0.1.0a10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for secret-kernel-testing 0.1.0a10
File Interpreter ABI Platform Actions
secret_kernel_testing-0.1.0a10-py3-none-any.whl Python 3 none any Details for secret_kernel_testing-0.1.0a10-py3-none-any.whl

Total release size: 7.0 kB

Release files / secret_kernel_testing-0.1.0a10.tar.gz

Download URL secret_kernel_testing-0.1.0a10.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5bb3b471f98abf7e5cb7fa08e08168a1cde239e7b640abd5fcebb766d9eb60d7
BLAKE2b-256 checksum
How to use checksums
5dd1e70b859c0dcc5ca7d45108fd03a1b4a226c575c24b02082ebb4feb8554ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / secret_kernel_testing-0.1.0a10-py3-none-any.whl

Download URL secret_kernel_testing-0.1.0a10-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15ea98a88fd22b6e2af599f9b2c3b83a82ec7df132f5c6f444cb8a020e9c94ff
BLAKE2b-256 checksum
How to use checksums
5628cb5c06f9ff4f2df0efeb9ce45858f69da29ae127e335d4c1947f6a0292b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for secret-kernel-testing 0.1.0a10

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