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.0.tar.gz (8.4 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.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for metrik_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9d1ee80b29dc0d835de95632fef3baf3de64e66253340ef9de111cc5aabefb1c
MD5 7c6f1dd14ecb576700eecfbbad986926
BLAKE2b-256 cb8742cae7413d37c786ee28742bb496ab0294ab1d6036d38af9f7cc0d758ea1

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_sdk-0.3.0.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.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

Hashes for metrik_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150d4944019da0c5cefecaff001680fc081bb1c297c370a0af24ca59f9c28513
MD5 c8fbf961fd92e864694a20a65c8fd5e1
BLAKE2b-256 d415896d6f8d7cc4ea6e989882c70658ab3fa6278c894b603165a267f2015527

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_sdk-0.3.0-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