Skip to main content

Arkhe: an ontology language for AI systems. Validator and toolchain.

Project description

arkhelang (Python)

The Python reference implementation of Arkhe, an ontology language for AI systems. See the repository root for the language itself.

Currently provides the v0.1 validator:

pip install arkhelang
arkhe validate path/to/module.arkhe.yaml

Validation is two layers: structural (the published JSON Schema) and semantic (name resolution, lifecycle-state rules, effect reach and cardinality, CEL guard analysis with the two-hop traversal bound). Exit codes: 0 valid, 1 invalid, 2 unreadable input. --json emits findings as machine-readable output. akl is installed as an alias of arkhe.

The conformance fixtures in the repository's fixtures/ directory are the specification of this tool's behaviour; pytest runs them.

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

arkhelang-0.1.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

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

arkhelang-0.1.0-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arkhelang-0.1.0.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for arkhelang-0.1.0.tar.gz
Algorithm Hash digest
SHA256 107b8ba9a03cb0153b73a2d359b677963dd8dcc9cad8009ae99dba87b3b22755
MD5 9923dbdfab0cdd4f17ec313f99adfbc8
BLAKE2b-256 2208a168aa7d67056597ec076d014622eae978551ac6bac3efa6398cf839d85e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arkhelang-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for arkhelang-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd6e6db55e23e767fa91e7a85b03955b1605034b5e8fb410a149d7f225d8a1eb
MD5 e41de1e0d0810f31e0db83e4c610df0b
BLAKE2b-256 e6bbfd42d4bda932c88f7894bfc824ca6a20e817f04141ef13113dfaabf0ea4b

See more details on using hashes here.

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