Skip to main content

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 implementationsModelLoader, 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

metrik_sdk-0.3.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

metrik_sdk-0.3.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file metrik_sdk-0.3.1.tar.gz.

File metadata

  • Download URL: metrik_sdk-0.3.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for metrik_sdk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 be68836fff8de4dcbd75796176327781815afb8ccfc2c445337a433f6970a6b1
MD5 4aaa572152564592758c437b6e048bc0
BLAKE2b-256 29b7f45562f787085245bd4df047e88f4578666f572ae78f4b8844662a76f55d

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_sdk-0.3.1.tar.gz:

Publisher: release.yml on Asmodeus14/Metrik

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metrik_sdk-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: metrik_sdk-0.3.1-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

Hashes for metrik_sdk-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37cd7aabd318ff56b20b7d3b60e9592538af75d22f327f9b4694aa7e7ffd354b
MD5 5a0ba3c695cc8289daba3296d6fc64b7
BLAKE2b-256 ce15613c930cc22ef95563b0f2d34f275ee8add288572dc9cae750661a5f5f9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_sdk-0.3.1-py3-none-any.whl:

Publisher: release.yml on Asmodeus14/Metrik

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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