Skip to main content

No project description provided

Project description

SE Theory: Reference Kit

PyPI Docs Site Repo Python 3.15 License

CI-Lean CI Docs-Deploy Pre-Release Release Links Dependabot

Shared Python engine for validating, scaffolding, and exporting Structural Explainability theory-reference artifacts that mirror Lean public surfaces.

For the full documentation, see docs/en/index.md.

Overview

This project provides the shared Python infrastructure used by Structural Explainability theory repositories to maintain reference artifacts aligned with their Lean public surfaces.

The kit owns generic loading, validation, scaffolding, and export machinery. Each theory repository owns its own public Lean surface declarations and export specifications.

Package Interface

  • The Python import package is se_theory_reference_kit.
  • The Python distribution package is se-theory-reference-kit.
  • The public command is se-theory-reference.

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-theory-reference-kit

cd se-theory-reference-kit
code .

In a VS Code terminal

Use VS Code Menu: View / Command Palette / Developer: Reload Window to refresh.

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

uvx pre-commit install

uv run se-theory-reference --help
uv run se-theory-reference validate --help
uv run se-theory-reference scaffold --help
uv run se-theory-reference export --help
uv run se-theory-reference catalog --help
uv run se-theory-reference inspect --help

# validate manifest file
uvx --from se-manifest-schema se-manifest validate-manifest --path SE_MANIFEST.toml --strict

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

uv run python -m pyright
uv run python -m pytest
uv run python -m zensical build

# check import layers
uvx --python 3.13 --from import-linter lint-imports --config .github/.importlinter

# check complexity; no output is good (all A or B)
uvx radon cc src/se_theory_reference_kit -s -a -n C

uv build
uvx twine check dist/*

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

Citation

CITATION.cff

License

MIT

Manifest

SE_MANIFEST.toml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

se_theory_reference_kit-0.1.0.tar.gz (74.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

se_theory_reference_kit-0.1.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file se_theory_reference_kit-0.1.0.tar.gz.

File metadata

  • Download URL: se_theory_reference_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 74.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for se_theory_reference_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93556615afecf617b7724d89122d6eabbc315b208fd4ba3f833cad1045345c80
MD5 62b77b9aa9e22b72f6326ae64c80730f
BLAKE2b-256 b5a2530ee47b2fd669ff1e5ef2688a559d7108fb717f575e8ad4bc7dde420c68

See more details on using hashes here.

Provenance

The following attestation bundles were made for se_theory_reference_kit-0.1.0.tar.gz:

Publisher: release-pypi.yml on structural-explainability/se-theory-reference-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file se_theory_reference_kit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for se_theory_reference_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c487f3b59919989156b12a65657a4a6186b1b9563d6181aa8d1195522bb2961
MD5 b8a8c9b9526698ea584e1a0957e53aab
BLAKE2b-256 2dd1eaab626c4846378ed7dd9c3dff6666631429ee218b462645c19949affd79

See more details on using hashes here.

Provenance

The following attestation bundles were made for se_theory_reference_kit-0.1.0-py3-none-any.whl:

Publisher: release-pypi.yml on structural-explainability/se-theory-reference-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page