Skip to main content

katsoft-contracts

Standard-library-only contracts shared by the plugins-kit marketplace:

  • katsoft_contracts.execution_event -- the execution-event envelope (schema revisions v1 to v3), validation, emitters and JSONL sinks.
  • katsoft_contracts.interrupt_contract -- the interrupt request and resolution contract. The schema validator is passed in by the caller.
  • katsoft_contracts.model_declaration -- the structural parser for a model declaration.

The package has no dependencies and imports nothing outside the standard library.

from katsoft_contracts import model_declaration

model_declaration.parse(["opus", "sonnet"])  # ['opus', 'sonnet']

Source

The canonical source lives in this directory. The marketplace's bootstrap library keeps byte copies of the three modules, refreshed from here with scripts/sync_contracts_copy.py in the plugins-kit repository.

Releases are tagged katsoft-contracts-v<version> in the repository named by the Source project URL.

Metadata

Release files for katsoft-contracts 1.0.0

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

Built distribution (wheel)

Table of built distributions (wheels) for katsoft-contracts 1.0.0
File Interpreter ABI Platform
katsoft_contracts-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / katsoft_contracts-1.0.0-py3-none-any.whl

Download URL katsoft_contracts-1.0.0-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ead596c8d60159303295b52fec81a4e71d4567de698d84818acc81a2a79808fd
BLAKE2b-256 checksum
How to use checksums
1e562404a14753e1c2541fed4233d458622330aa0672d9e179f33f6ca4653608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 22, 2026.

Transparency log

Security for katsoft-contracts 1.0.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.

Full provenance

All 1 file in this release has been uploaded with provenance metadata.

Attestation for katsoft_contracts-1.0.0-py3-none-any.whl

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 22, 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file Full provenance

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