JEP Python SDK — JEP Core 0.7
Python client for the current JEP Core 0.7 reference API.
Status
Experimental HTTP client. Event creation and verification run on the configured API. Start the local reference API before running the examples below.
Installation
pip install jep-sdk-py==0.7.1
Quick start
from jep import JEPClient, CreateEventRequest, Verb
client = JEPClient(base_url="http://127.0.0.1:8000")
created = client.create_event(CreateEventRequest(
verb=Verb.JUDGMENT.value,
who="did:example:agent-789",
what={"claim": "approve"},
))
verified = client.verify_event({
"event": created.event.to_dict(),
"mode": "archival",
})
print(created.event.id)
print(created.event_hash)
print(verified.status, verified.checks)
Validation results
Current results expose:
status:valid | invalid | indeterminatechecks: independent check resultsevent_identityevent_hash- optional
acceptance warnings/errors
ValidationResult.valid is a convenience property equivalent to
status == "valid".
Legacy 0.6
Legacy handling is deliberately explicit:
client.verify_event_legacy({
"event": legacy_event,
"mode": "archival",
})
Do not use a failed 0.7 validation as a signal to reinterpret an artifact as 0.6.
Testing
From a source checkout:
pip install -e ".[dev]"
pytest -q
Related repositories
- Core contract and implementation path: https://github.com/hjs-spec/jep-core#current-contract
- JEP API: https://github.com/hjs-spec/jep-api
- JavaScript SDK: https://github.com/hjs-spec/sdk-js
- Go SDK: https://github.com/hjs-spec/sdk-go
License
Metadata
Release files for jep-sdk-py 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jep_sdk_py-0.7.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jep_sdk_py-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / jep_sdk_py-0.7.1.tar.gz
| Download URL | jep_sdk_py-0.7.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adb63ce590e8e5feec979eb7f528681b3fca19955615bb9862027edb98a20360
|
|
BLAKE2b-256 checksum How to use checksums |
17f3c2ea971c2aa4302af649ed2da7ef9e97171e4817b387e37f5a013b7fa465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency logRelease files / jep_sdk_py-0.7.1-py3-none-any.whl
| Download URL | jep_sdk_py-0.7.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e0bd0dade7893ee3327a0c0f69905e1511568be1872fd86b69adc3f0f4c0cd1
|
|
BLAKE2b-256 checksum How to use checksums |
27230045976ce03118f069cb7dda468823be71f13b6f0bb47433fab29d426f42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency log