Skip to main content

kymostudio

Diagram superpowers — prompt it, see it appear, watch it animate.

Install

pip install kymostudio
# or
uv tool install kymostudio

Convert (CLI)

kymo path/to/diagram.kymo              # → path/to/diagram.svg
kymo path/to/diagram.kymo --animate    # → path/to/diagram-animated.svg
kymo path/to/diagram.kymo --figma      # → path/to/diagram.figma.js
kymo path/to/diagram.kymo --excalidraw # → path/to/diagram.excalidraw
kymo path/to/process.bpmn                 # → path/to/process.svg (BPMN 2.0)
kymo path/to/diagram.kymo out.png         # render, then rasterize to PNG (resvg)
kymo path/to/diagram.kymo out.png -s 2    # 2× resolution
kymo path/to/image.svg out.png            # rasterize an existing SVG
kymo path/to/image.svg                    # → path/to/image.png
kymo lint path/to/process.bpmn            # report BPMN structural + import issues

PNG output rasterizes via kymostudio-core (the shared resvg engine), installed automatically as a dependency.

See samples/ for complete example .kymo and .bpmn files.

BPMN 2.0 import

A standard .bpmn file (from bpmn.io / Camunda Modeler / Signavio …) renders to SVG using the geometry in the file's Diagram-Interchange section — no layout pass runs. See docs/formats/bpmn/ for the BPMN 2.0.2 normative reference and the element mapping (import + export).

from kymo import parse_bpmn, render

diagram = parse_bpmn(open("process.bpmn").read())
svg = render(diagram)

Python API

from kymo import parse, layout, resolve_alignments, render

diagram, layout_spec, external = parse(open("diagram.kymo").read())
if layout_spec:
    layout(diagram, layout_spec, external)
resolve_alignments(diagram)
svg = render(diagram, animate=True)

Develop

uv run --group dev python -m pytest -q       # run the test suite

License

Apache License 2.0 — see LICENSE.

Metadata

Release files for kymostudio 0.4.10

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

Source distribution (sdist)

Source distribution for kymostudio 0.4.10
File Size Uploaded Provenance Actions
kymostudio-0.4.10.tar.gz 386.8 kB With provenance Details for kymostudio-0.4.10.tar.gz

Built distribution (wheel)

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

Total release size: 482.8 kB

Release files / kymostudio-0.4.10.tar.gz

Download URL kymostudio-0.4.10.tar.gz
Size 386.8 kB
Tags Source
SHA-256 checksum
How to use checksums
167ff55f3e8a9da4f484f99aebb8422df02627cd62c89bf0ecad1fc6dd72950c
BLAKE2b-256 checksum
How to use checksums
ace6abef380ce820b3e9a89772573d1c91442e2b2e5edddfaabe260887293766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / kymostudio-0.4.10-py3-none-any.whl

Download URL kymostudio-0.4.10-py3-none-any.whl
Size 96.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21a8cf6fc9c07f074673156313faf6f6c49cda192bcaf5d6e0a4bb7ccd5e105b
BLAKE2b-256 checksum
How to use checksums
b6ce3545271fddfe965085e6b49bf2ce081839cbacbf463147fc803fc88a85d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Security for kymostudio 0.4.10

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kymostudio-0.4.10.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 Jun 20, 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.

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