Reference SDK and CLI for Leji, the open specification for the shared context layer of AI-native teams: validate, index, changelog, freshness, conformance, and init.
Project description
leji (Python)
Reference SDK and CLI for the Leji specification: the open specification for the shared context layer of AI-native teams.
pip install leji # or: uv tool install leji / pipx install leji
leji init # bootstrap a context layer interactively
leji validate # manifest, artifacts, frontmatter, lint rules
leji index # generate the context index
leji index --check # fail when the index is stale
leji changelog check # append-only discipline
leji freshness # review-horizon report
leji conformance # score the layer against its claimed level
leji docs # generate the static docs viewer (Docsify)
leji docs --serve # generate, then preview on 127.0.0.1
Behaviorally identical to the leji npm package: same commands, same flags,
same findings, same exit codes (0 clean, 1 findings, 2 usage error). Both
implementations are tested against one shared fixture suite. Install whichever
matches your toolchain; agents and CI see the same tool either way.
Supports spec line 1.0. Schemas and templates for that line ship inside the package; no network access is needed.
- Specification: https://leji.org
- Source: https://github.com/leji-org/leji (
packages/sdk-py) - License: Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leji-1.0.0.tar.gz.
File metadata
- Download URL: leji-1.0.0.tar.gz
- Upload date:
- Size: 95.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5842ac1b734d54e5633454fc9f0e1d1f30dea57f2320bdca2457e994baea2da
|
|
| MD5 |
0e54b29370b53a53f6706953a19eaff1
|
|
| BLAKE2b-256 |
a80db56f24e46fdf8de8b29c5fbb4576f240926d18a641a5a2c77a589b4fc83f
|
Provenance
The following attestation bundles were made for leji-1.0.0.tar.gz:
Publisher:
release.yml on leji-org/leji
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
leji-1.0.0.tar.gz -
Subject digest:
c5842ac1b734d54e5633454fc9f0e1d1f30dea57f2320bdca2457e994baea2da - Sigstore transparency entry: 1854394169
- Sigstore integration time:
-
Permalink:
leji-org/leji@9b4b6530c21581f988bd739f1c5836597613312c -
Branch / Tag:
refs/tags/packages/sdk-py/v1.0.0 - Owner: https://github.com/leji-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9b4b6530c21581f988bd739f1c5836597613312c -
Trigger Event:
push
-
Statement type:
File details
Details for the file leji-1.0.0-py3-none-any.whl.
File metadata
- Download URL: leji-1.0.0-py3-none-any.whl
- Upload date:
- Size: 111.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19336c1ee4a46b98ebc443605db8c188ca099f7a66a77d07fc127628bbf7d8bd
|
|
| MD5 |
fd91482ff8834e8dd05b670eeb88017f
|
|
| BLAKE2b-256 |
3fc651f1d7e10eee27c0bf3449f5f58eb5c2ff935f2b7055699e68d58d077a45
|
Provenance
The following attestation bundles were made for leji-1.0.0-py3-none-any.whl:
Publisher:
release.yml on leji-org/leji
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
leji-1.0.0-py3-none-any.whl -
Subject digest:
19336c1ee4a46b98ebc443605db8c188ca099f7a66a77d07fc127628bbf7d8bd - Sigstore transparency entry: 1854394216
- Sigstore integration time:
-
Permalink:
leji-org/leji@9b4b6530c21581f988bd739f1c5836597613312c -
Branch / Tag:
refs/tags/packages/sdk-py/v1.0.0 - Owner: https://github.com/leji-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9b4b6530c21581f988bd739f1c5836597613312c -
Trigger Event:
push
-
Statement type: