metrik-sdk
The public contracts. Every first-party module is written against this package and nothing
else — if a built-in producer needs something the SDK does not expose, that is a bug in the
SDK, and the fix is to expose it publicly rather than to reach through into metrik.core.
That rule is enforced in CI by the sdk-dogfooding contract in
.importlinter. It has already earned its keep twice: the Explorer's
first draft reached into metrik.core.hashing for hash_stream, and the Benchmark Lab reached
for metrik.core.env.capture_env. Both times the fix was to export it publicly rather than to
reach through — which is the difference between an SDK and a wrapper.
See sdk-contracts.md for the full specification.
Status
Four of the ten contracts in the specification have implementations — ModelLoader,
Profiler, BenchmarkTask and Visualizer — each backed by a first-party module and resolved
through the public registry, so metrik plugins lists them beside any third-party one.
The other six (SignalProbe, AllocationPolicy, CompressionBackend, Exporter,
AssistantBackend, ReportRenderer) are specified but not exported here, deliberately. A
contract with no implementation to check it against is how an SDK ends up with methods nobody
can call; the specification is the right place for a design no caller has pressure-tested yet.
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 metrik_sdk-0.3.0.tar.gz.
File metadata
- Download URL: metrik_sdk-0.3.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d1ee80b29dc0d835de95632fef3baf3de64e66253340ef9de111cc5aabefb1c
|
|
| MD5 |
7c6f1dd14ecb576700eecfbbad986926
|
|
| BLAKE2b-256 |
cb8742cae7413d37c786ee28742bb496ab0294ab1d6036d38af9f7cc0d758ea1
|
Provenance
The following attestation bundles were made for metrik_sdk-0.3.0.tar.gz:
Publisher:
release.yml on Asmodeus14/Metrik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metrik_sdk-0.3.0.tar.gz -
Subject digest:
9d1ee80b29dc0d835de95632fef3baf3de64e66253340ef9de111cc5aabefb1c - Sigstore transparency entry: 2336449651
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@781d9bac705f49f1c073c456439e480ad08cdf6e -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@781d9bac705f49f1c073c456439e480ad08cdf6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file metrik_sdk-0.3.0-py3-none-any.whl.
File metadata
- Download URL: metrik_sdk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
150d4944019da0c5cefecaff001680fc081bb1c297c370a0af24ca59f9c28513
|
|
| MD5 |
c8fbf961fd92e864694a20a65c8fd5e1
|
|
| BLAKE2b-256 |
d415896d6f8d7cc4ea6e989882c70658ab3fa6278c894b603165a267f2015527
|
Provenance
The following attestation bundles were made for metrik_sdk-0.3.0-py3-none-any.whl:
Publisher:
release.yml on Asmodeus14/Metrik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metrik_sdk-0.3.0-py3-none-any.whl -
Subject digest:
150d4944019da0c5cefecaff001680fc081bb1c297c370a0af24ca59f9c28513 - Sigstore transparency entry: 2336449715
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@781d9bac705f49f1c073c456439e480ad08cdf6e -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@781d9bac705f49f1c073c456439e480ad08cdf6e -
Trigger Event:
push
-
Statement type: