Skip to main content

metrik-viz

Turns artifacts into VizSpec, and VizSpec into a chart.

$ metrik viz <artifact-id>                 # render in the terminal
$ metrik viz <artifact-id> --html out.html # one self-contained file
$ metrik viz <artifact-id> --json          # the spec itself

Two halves, deliberately separate. Visualizers read an artifact and emit a spec; they never render. Renderers read a spec and never see an artifact. That split is what lets one spec render in the terminal, in a static report, and later in the web app without three implementations drifting apart.

No charting dependency

The HTML renderer writes its own SVG. A report is therefore a single file that opens offline with nothing to fetch — which matters because a report is the thing that gets emailed, and one that renders a broken-image icon six months later is worse than a table.

Accessibility is structural

Every spec carries a table and a text summary, and the schema refuses a chart that encodes meaning in colour alone. The terminal renderer shows the table; the HTML renderer emits the chart and the table, with the text summary as the figure's accessible description.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metrik_viz-0.2.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

metrik_viz-0.2.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file metrik_viz-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for metrik_viz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b7f60e3afbf1875b122483357acd71dfe00b30e4cef3b79d932e6d3179a94533
MD5 8c465b4f6427c4e3578375e8cb903d10
BLAKE2b-256 757a0bae5093a240e392c9d3399084aa2422efac6dfc9920d61302d29818fbaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_viz-0.2.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_viz-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: metrik_viz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.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_viz-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec983e073d6111328fbfd9e629e801a3beeea341eb7af446987c5cd18c2baa00
MD5 7fbd4dcdd4790c9eae8b6fb32c4a452f
BLAKE2b-256 4bbd7d7975b5598d04917db36119c7a10626e507c067336fb3417a1acca6ca97

See more details on using hashes here.

Provenance

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