Typed Python client for the SKI Framework SKI Model, with one-call provenance verification.
Project description
ski-sdk
Install from PyPI:
pip install ski-sdk(publishing starts with the first release after June 2026).
Typed Python client for the SKI Framework SKI Model, with one-call verification of a verdict's signed provenance.
Status: early alpha. This wraps an alpha HTTP API; pin your versions. The SDK is versioned independently of the framework — see the compatibility note in the docs.
from ski_sdk import SKIClient
client = SKIClient(endpoint="https://ski.internal:8000", api_key="…")
env = client.evaluate(
measurement_id="m-001",
timestamp="2026-06-05T12:00:00Z",
subject="stack-7",
measurement={"so2_ppm": 150},
)
print(env.verdict, [c.node_id for c in env.kg_citations]) # FLAG ['energy.so2.lte_100ppm']
Verify a verdict's signed transcript (tamper-evident provenance):
from ski_sdk import verify_transcript
report = verify_transcript(transcript, public_key_pem)
assert report.ok # signature valid AND recorded hashes match the canonical pair
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 ski_sdk-0.1.0.tar.gz.
File metadata
- Download URL: ski_sdk-0.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff780611157138fb51fa5598efafc3558ea8cbb5d0cf17edcac696bebf0d3a20
|
|
| MD5 |
3fe74c80e689cf14bbdad2e50c2191b2
|
|
| BLAKE2b-256 |
3cffca3f302cd23ad13e36464768d7cac905af1ea8613ebed5c7f9d01f28179f
|
Provenance
The following attestation bundles were made for ski_sdk-0.1.0.tar.gz:
Publisher:
release.yml on kpifinity/ski-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ski_sdk-0.1.0.tar.gz -
Subject digest:
ff780611157138fb51fa5598efafc3558ea8cbb5d0cf17edcac696bebf0d3a20 - Sigstore transparency entry: 1783512702
- Sigstore integration time:
-
Permalink:
kpifinity/ski-framework@36cdaafd0ff3fc0b5e92f58356aeba4bea794db6 -
Branch / Tag:
refs/tags/v3.1.0-alpha.1 - Owner: https://github.com/kpifinity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@36cdaafd0ff3fc0b5e92f58356aeba4bea794db6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ski_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ski_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 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 |
aea8c73c1c2b567f09be882b47611f2752c96dc3d9e0faca887e3eb7f8442e6d
|
|
| MD5 |
58c15c22d57b2bd3ce6d75eaeef2d97b
|
|
| BLAKE2b-256 |
0dc6e3641fe69d3b8d497465bb8cf9dd6288baa28961b89ea71590ae341f9857
|
Provenance
The following attestation bundles were made for ski_sdk-0.1.0-py3-none-any.whl:
Publisher:
release.yml on kpifinity/ski-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ski_sdk-0.1.0-py3-none-any.whl -
Subject digest:
aea8c73c1c2b567f09be882b47611f2752c96dc3d9e0faca887e3eb7f8442e6d - Sigstore transparency entry: 1783513527
- Sigstore integration time:
-
Permalink:
kpifinity/ski-framework@36cdaafd0ff3fc0b5e92f58356aeba4bea794db6 -
Branch / Tag:
refs/tags/v3.1.0-alpha.1 - Owner: https://github.com/kpifinity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@36cdaafd0ff3fc0b5e92f58356aeba4bea794db6 -
Trigger Event:
push
-
Statement type: