Skip to main content

chartlet

Compile structured data into deterministic, accessible static charts and diagrams, from Python.

pip install chartlet
import chartlet

svg = chartlet.render({
    "schemaVersion": 1,
    "type": "bar",
    "title": "Monthly revenue",
    "data": [
        {"label": "January", "value": 120},
        {"label": "February", "value": 180},
    ],
})

render returns the same bytes as chartlet render with the same options. The package carries the renderer compiled to WebAssembly and runs it with wasmtime; it needs no Rust toolchain, no browser and no network.

  • Jupyter: chartlet.Chart(spec) shows the chart's HTML figure in a notebook.
  • Sphinx: extensions = ["chartlet.sphinx"] adds the chartlet directive, for reStructuredText and MyST Markdown.
  • MkDocs: markdown_extensions: [chartlet] renders fenced chartlet blocks.

Documentation: Python and Markdown and documentation sites.

License

MIT.

Metadata

Release files for chartlet 0.28.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chartlet 0.28.0
File Size Uploaded Provenance Actions
chartlet-0.28.0.tar.gz 974.5 kB With provenance Details for chartlet-0.28.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chartlet 0.28.0
File Interpreter ABI Platform Actions
chartlet-0.28.0-py3-none-any.whl Python 3 none any Details for chartlet-0.28.0-py3-none-any.whl

Total release size: 2.0 MB

Release files / chartlet-0.28.0.tar.gz

Download URL chartlet-0.28.0.tar.gz
Size 974.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1bebc5aac4473b443fba69e44a8148e33864161d5b954bbdc7a7efb755987105
BLAKE2b-256 checksum
How to use checksums
9238e8ca10ca63333ab1c5e4f22abb18cebcf1ba909c4449efd904ea0e6b60ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / chartlet-0.28.0-py3-none-any.whl

Download URL chartlet-0.28.0-py3-none-any.whl
Size 976.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b2cc4b1fe333ddafaa080997a51ea605c88f7ed35e4c7a7a2a6de65d221df29
BLAKE2b-256 checksum
How to use checksums
c5efe73cfbd1d93bf88d64759f6af0b7947a59e47a7f829f2a3fb7de5aed4a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for chartlet 0.28.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chartlet-0.28.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.28.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page