Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SE Theory: Reference Kit

PyPI Docs Site Repo Python 3.15 License

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.

Install

uv add se-theory-reference-kit
uv sync

Usage

uvx se-theory-reference-kit@latest export
uvx se-theory-reference-kit@latest export --check
uvx se-theory-reference-kit@latest catalog
uvx se-theory-reference-kit@latest catalog --check
uvx se-theory-reference-kit@latest inspect
uvx se-theory-reference-kit@latest validate
uvx se-theory-reference-kit@latest validate --strict

Developer

Clone Project Repository and Open in VS Code

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 .

Manage Environment

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

# set up or update Python environment
# uvx pup-clean --delete
uv self update
uv python install
uv lock --upgrade
uv sync
uv audit

# set up and run git hooks
uv run prek install --force
uv run prek update
git add -A
uv run prek run --all-files
# repeat if changes were made
uv run prek run --all-files

# Check
uv run se-theory-reference-kit@latest export --help
uv run se-theory-reference-kit@latest catalog --help
uv run se-theory-reference-kit@latest inspect --help
uv run se-theory-reference-kit@latest validate --help

# run common chores
uv run ruff format .
uv run ruff check . --fix
uv run ty check
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

Authority Manifest

.accountability/surfaces.toml

Changelog

CHANGELOG.md

Citation

CITATION.cff

License

MIT

Repository Manifest

SE_MANIFEST.toml

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages