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.3.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.3.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metrik_viz-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 5db8e1ab7cece46545ef69b60e16726d18c49629dbb2aa793e77f79660feaa2a
MD5 4b228ed795bffc10adfe10a727f0bebb
BLAKE2b-256 945f7d6bf9f65e1203be1209603244b2f03aae746ca4c34349c52266ba13225a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: metrik_viz-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c47f4ad04d0847ee730b9c5a28655584c9f3ec2b483d5b34264757ce940d3dea
MD5 78990890ee8f57763dbfa1cf5ca211fd
BLAKE2b-256 5f8b60ec4f74a064ede9ef082871c91b67f1b5490855b99009169ed3a01b4c1c

See more details on using hashes here.

Provenance

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