Skip to main content

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.

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

leji-1.1.0.tar.gz (115.7 kB view details)

Uploaded Source

Built Distribution

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

leji-1.1.0-py3-none-any.whl (134.5 kB view details)

Uploaded Python 3

File details

Details for the file leji-1.1.0.tar.gz.

File metadata

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

File hashes

Hashes for leji-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b32b526114f8938262f2a42de29d4de23165bf1c351b91159f028b9f6cc2c069
MD5 abdc8799783029ffcbef0eee6332529d
BLAKE2b-256 0c9be5cc6b442acc9b116fbffecd2d448fa3a26d4a9769ab5ff2cec54519cab2

See more details on using hashes here.

Provenance

The following attestation bundles were made for leji-1.1.0.tar.gz:

Publisher: release.yml on leji-org/leji

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

File details

Details for the file leji-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: leji-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 134.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for leji-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0da37b7d88c4bd2ccd3c96fd52def32f7dab302a3f8cc22df77124dc5f0201e6
MD5 df3dfd8816ca32618892343734e67022
BLAKE2b-256 6fc4476d841a4fc29cabc71951a3408fcb3ae05160c09f62d0033da6fd15c7f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for leji-1.1.0-py3-none-any.whl:

Publisher: release.yml on leji-org/leji

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