Skip to main content

jos-core

The reference kernel of the .jos 2.1 format, in Python: it validates .jos intentions and runs them within their limits, with a receipt per step and a hash-chained ledger per run.

Version 2.1.1 · .jos 2.1 · Python 3.10 or later · no dependencies · Apache-2.0

Install

pip install jos-core

Quick start

echo '{"jos":{"version":"2.0.0","kind":"atom"},"id":"hello","meta":{"name":"hello","version":"0.1.0"},"intention":{"objective":"Say hello","success_criteria":[{"stdout_contains":"hello"}]},"execution":{"run":["echo","hello"]}}' > hello.jos
jos-core run hello.jos                    # hello, then: jos-core: code 0 art_… run_…
jos-core validate hello.jos --json
jos-core --version                        # jos-core 2.1.1 (.jos 2.1.0), the same line as the JavaScript kernel

As a library

import jos_core; r = jos_core.run_file('hello.jos') reads the file once and runs it with dir and source (its octets); jos_core.run(doc, cwd=..., dir=..., source=data) is the same with a document already parsed. A 0.0.7 document sealed by a detached manifest (security.integrity_ref) is verified over the octets it was parsed from, so run() needs dir and source for it (else code 5); verify_legacy_ref(doc, data, dir) is that check alone.

Conformance

Same results as the JavaScript kernel @josfox/jos-core on every conformance vector: results are compared as JSON values, with minted ids, times and durations normalized (the printed text can differ in member order and number spelling, 5.0 against 5, never in a value). A number an IEEE 754 double does not keep makes the document invalid in both engines.

The .jos family

Package What it is Install
@josfox/jos-core The reference kernel in JavaScript: validates and runs .jos documents; zero dependencies npm install @josfox/jos-core
jos-core (PyPI) The same kernel in Python, with the same results on every conformance vector pip install jos-core
@josfox/jos jos, the command line: run, validate, ledger, vault, MCP server npm install -g @josfox/jos
foxjos The jos command line under its own name, for foxtail authors npm install -g foxjos
@josfox/jos-cli jos-cli, the operator client for .jos instances npm install -g @josfox/jos-cli
josfox Where a person starts: josfox kickoff npm install -g josfox
josctl The control plane of the master plan npm install -g josctl
@josfox/foxctl, foxctl The services CLI (the unscoped name is the same program) npm install -g @josfox/foxctl

Every npm package of this release pins @josfox/jos-core 2.1.1 exactly.

License

Apache-2.0 (LICENSE).

Sponsor

.jos is sponsored by JOSFOX and JOSFOX.AI, who are creating the .jos community. Our purpose: more wow moments. Look soon for your local JOSFOX page in your country for the wow experiences available near you. https://josfox.ai · https://josfox.cloud

JOSFOX: more wow moments.

Metadata

Release files for jos-core 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jos-core 2.1.1
File Size Uploaded Provenance Actions
jos_core-2.1.1.tar.gz 129.9 kB With provenance Details for jos_core-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jos-core 2.1.1
File Interpreter ABI Platform Actions
jos_core-2.1.1-py3-none-any.whl Python 3 none any Details for jos_core-2.1.1-py3-none-any.whl

Total release size: 268.4 kB

Release files / jos_core-2.1.1.tar.gz

Download URL jos_core-2.1.1.tar.gz
Size 129.9 kB
Tags Source
SHA-256 checksum
How to use checksums
21d9b0ebc27e386e2029139954f404e65d39b04ed4e19a0eb1e95b5724c4922e
BLAKE2b-256 checksum
How to use checksums
1390b5072e0284762afccaa2cc070835b95b400be1652f55018f6ed572e41e1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / jos_core-2.1.1-py3-none-any.whl

Download URL jos_core-2.1.1-py3-none-any.whl
Size 138.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acc3ba092efff1f578918a8ae0b1d617fc7332a36a0f15ef7ef9128566f474d0
BLAKE2b-256 checksum
How to use checksums
f0b0fb5f6010bae7ed86135c19f3d150a642df54dfc0b5ddc7709672565f5f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for jos-core 2.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jos_core-2.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page