metrik-cli
The metrik command-line interface.
$ metrik --version
$ metrik store path # which store am I using, and why
$ metrik store ls # what is in it
$ metrik store show <id> # one artifact: envelope + payload
$ metrik store lineage <id> # trace it back to what it was derived from
$ metrik store verify # rehash everything; non-zero exit if anything is wrong
$ metrik runs ls # what has been run here, newest first
$ metrik runs ls --failed # only the ones that did not succeed
$ metrik runs show <id> # what was asked, what happened, what came out
$ metrik plugins # which producers are installed and loadable
<id> accepts an abbreviated digest (b3:f8fae13), the way git accepts a short commit.
A run is recorded whether the work succeeded or raised, so a command that produced no artifacts still leaves a trace — with the failure kind, the message, and the remediation that was printed at the time. A success can be re-derived from its artifacts; a failure cannot be re-derived from anything, which is why it is the case most worth recording.
A run whose outputs have gaps in them is partial, not succeeded. That distinction survives
to the exit status and to runs ls, so a script cannot mistake a result with holes for a
complete one.
Every command runs in-process against a local store. There is no daemon and no network path —
the original design sketched a --remote mode against an API server, which was never built and
is not planned.
See ADR 012 for the Typer + Rich decision.
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_cli-0.3.1.tar.gz.
File metadata
- Download URL: metrik_cli-0.3.1.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba4daef568c14ed2a76c826aa8d82b02799517a2ac2f6e6d322f01ec60667169
|
|
| MD5 |
866d4189c17b661883864c2d6892fe4a
|
|
| BLAKE2b-256 |
7c0296a899dabf100d641f68111c4d60ac2a0ed4d112d2b9517ffa289bc9df6f
|
Provenance
The following attestation bundles were made for metrik_cli-0.3.1.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_cli-0.3.1.tar.gz -
Subject digest:
ba4daef568c14ed2a76c826aa8d82b02799517a2ac2f6e6d322f01ec60667169 - Sigstore transparency entry: 2339247277
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@9078519c34e68f42a1f80e233dbc4f3e3169bd7b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9078519c34e68f42a1f80e233dbc4f3e3169bd7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file metrik_cli-0.3.1-py3-none-any.whl.
File metadata
- Download URL: metrik_cli-0.3.1-py3-none-any.whl
- Upload date:
- Size: 37.6 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 |
9d7297441566cf1488a1c965983ac669d74fb97729258c8121bc7c1af189ea56
|
|
| MD5 |
f9949f519916014f7a324dc59c81d6ac
|
|
| BLAKE2b-256 |
a41e07c27399438af43f989f60605cc12beb60737f3a7555998217654641662f
|
Provenance
The following attestation bundles were made for metrik_cli-0.3.1-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_cli-0.3.1-py3-none-any.whl -
Subject digest:
9d7297441566cf1488a1c965983ac669d74fb97729258c8121bc7c1af189ea56 - Sigstore transparency entry: 2339247289
- Sigstore integration time:
-
Permalink:
Asmodeus14/Metrik@9078519c34e68f42a1f80e233dbc4f3e3169bd7b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Asmodeus14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9078519c34e68f42a1f80e233dbc4f3e3169bd7b -
Trigger Event:
push
-
Statement type: