Skip to main content

SE Contract Kit

PyPI Docs Site Repo Python 3.14+ Python 3.15 Ready License

CI Docs-Deploy Release Links Dependabot

Provides generic contract loading, resolution, and validation machinery for Structural Explainability contract repositories.

It is a Python package and command-line tool.

Role

Owns reusable machinery for contract repositories. It does not own Accountable Record, Judicial Record, Civic Record, or any domain-specific contract content.

Package

uv add se-contract-kit

Command

uv run se-contract-kit check --strict

Source layout

base/          Dependency-free utilities for errors, file IO, JSON, and paths.
declarations/  Load repository manifest and contract declarations.
resolution/    Resolve dependencies, artifacts, authorities, lockfiles, and run context.
validation/    Run generic contract checks and produce validation results.
cli.py         Command-line entry point.

Command Reference

Show command reference

In a machine terminal

Open a machine terminal where you want the project:

git clone https://github.com/structural-explainability/se-contract-kit

cd se-contract-kit
code .

In a VS Code terminal

uv self update
uv python pin 3.14
uv sync --extra dev --extra docs --upgrade

uvx pre-commit install

git add -A
uvx pre-commit run --all-files
# repeat if changes were made
git add -A
uvx pre-commit run --all-files

# validate manifest
uv run se-manifest validate-manifest --path MANIFEST.toml --strict

# run contract-kit checks
uv run se-contract-kit check --strict

# types, tests, docs
uv run python -m pyright
uv run python -m pytest
uv run python -m zensical build

# save progress
git add -A
git commit -m "update"
git push -u origin main

Citation

CITATION.cff

License

MIT

Manifest

MANIFEST.toml

Metadata

Release files for se-contract-kit 0.1.0

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

Source distribution (sdist)

Source distribution for se-contract-kit 0.1.0
File Size Uploaded
se_contract_kit-0.1.0.tar.gz 85.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for se-contract-kit 0.1.0
File Interpreter ABI Platform
se_contract_kit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 124.2 kB

Release files / se_contract_kit-0.1.0.tar.gz

Download URL se_contract_kit-0.1.0.tar.gz
Size 85.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e37e91394fbbd4080887168621c8a98d86ce0583e357f16b783929f459e454c
BLAKE2b-256 checksum
How to use checksums
d56cf1f8e11aaaadf4f62157ddd322174295b21dcce4408d7bfa6766e840138d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 23, 2026.

Transparency log

Release files / se_contract_kit-0.1.0-py3-none-any.whl

Download URL se_contract_kit-0.1.0-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1be023117f11149e95f254ea1e6fd8f1f4c7d9cb1618c2da069767fa38460fc
BLAKE2b-256 checksum
How to use checksums
d04ce8915c7c0cc03fd4692bf4e69c90e81917793198825933721ee02259e1a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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