Skip to main content

Vapoursynth Graph

VapourSynth plugin (Rust) and typed Python API for inspecting filter graphs.

Walks the dependency graph of a VideoNode or AudioNode and returns typed dataclasses describing every node (filter name, filter mode, media info, processing time, creation call stack) and edge (request pattern).

Graphs can be exported to Mermaid, Graphviz DOT, ASCII, Cytoscape.js or JSON.

Requirements

  • Python ≥ 3.12
  • VapourSynth ≥ R79 (API 4.2 or 4.3)
  • The core must be created with vs.CoreCreationFlags.ENABLE_GRAPH_INSPECTION

Installation

pip install vapoursynth-graph

The wheel ships the native graph plugin, which VapourSynth autoloads.

Usage

import vapoursynth as vs
from vsgraph import get_graph

core = vs.core
vs._try_enable_introspection(0)

clip = core.std.BlankClip(width=1920, height=1080, format=vs.YUV420P8)
clip = core.resize.Bicubic(clip, width=1280, height=720)

graph = get_graph(clip)

print(graph.root.name, graph.root.media_info.fps)
print(graph.to_ascii())

for node in graph.get_dependencies(graph.root):
    print(node.name, node.filter_mode, f"{node.processing_time_ms:.2f} ms")

Exports

Method Output
Graph.to_mermaid() Mermaid flowchart
Graph.to_dot() Graphviz DOT
Graph.to_ascii() Tree view
Graph.to_cytoscape() Cytoscape.js elements dict
Graph.to_json() JSON string

The raw plugin functions are also available as core.graph.VideoGraph(clip, pretty) and core.graph.AudioGraph(clip, pretty), both returning a JSON string.

Development

Requires a Rust toolchain and uv.

uv sync --no-editable
uv run pytest

Metadata

Release files for vapoursynth-graph 1.1.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 vapoursynth-graph 1.1.0
File Size Uploaded Provenance Actions
vapoursynth_graph-1.1.0.tar.gz 38.7 kB With provenance Details for vapoursynth_graph-1.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-graph 1.1.0
File Actions
vapoursynth_graph-1.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for vapoursynth_graph-1.1.0-py3-none-win_amd64.whl
vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_x86_64.whl
vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_aarch64.whl
vapoursynth_graph-1.1.0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for vapoursynth_graph-1.1.0-py3-none-macosx_13_0_x86_64.whl
vapoursynth_graph-1.1.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for vapoursynth_graph-1.1.0-py3-none-macosx_13_0_arm64.whl

Total release size: 1.7 MB

Release files / vapoursynth_graph-1.1.0.tar.gz

Download URL vapoursynth_graph-1.1.0.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
79449c800067f875952906ef4d64db873e34cd9fbe8d2ea08d11ccb2d233da96
BLAKE2b-256 checksum
How to use checksums
c52912fd7c486e2cfc3650866c59ab51a7cea84f1138678478f41ec4aefc6f74
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 21, 2026.

Transparency log

Release files / vapoursynth_graph-1.1.0-py3-none-win_amd64.whl

Download URL vapoursynth_graph-1.1.0-py3-none-win_amd64.whl
Size 322.5 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c4fd90496bd086c7c6e1856e655b809a225f2078906809deeadbe83c0ec43bba
BLAKE2b-256 checksum
How to use checksums
c7de364b3badcedd4658e1ea8f14f9c0c30df565aad5bc73856fac33eda50a48
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 21, 2026.

Transparency log

Release files / vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 582.7 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
214757e22573c359e21ea3b82e2d30ef446b151b1813fc8ee74e6edfe753973d
BLAKE2b-256 checksum
How to use checksums
11dce81c53e5528726824ea54997943ab8a2cfb30c4ca88a663aca18d146c768
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 21, 2026.

Transparency log

Release files / vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_aarch64.whl

Download URL vapoursynth_graph-1.1.0-py3-none-manylinux_2_28_aarch64.whl
Size 195.4 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d684579909a2b569b23be024d67750210da6ec93536db44abbddf4b6dc7d8651
BLAKE2b-256 checksum
How to use checksums
8ebe8fa9b7aaa15b5c120fb4ac1678d7b5403c1a8ad7434591aa623dbe09da92
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 21, 2026.

Transparency log

Release files / vapoursynth_graph-1.1.0-py3-none-macosx_13_0_x86_64.whl

Download URL vapoursynth_graph-1.1.0-py3-none-macosx_13_0_x86_64.whl
Size 385.4 kB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
51392e81fb02a7df94dcea76fdf968151664efeab948d4f681185139f1e922b1
BLAKE2b-256 checksum
How to use checksums
e5d72564f260f406e57556a9c35c3baa1e47b7808180cebc6953877f01ab0763
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 21, 2026.

Transparency log

Release files / vapoursynth_graph-1.1.0-py3-none-macosx_13_0_arm64.whl

Download URL vapoursynth_graph-1.1.0-py3-none-macosx_13_0_arm64.whl
Size 190.2 kB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
9639041a98eeb0a7b9b72ea5ffd4ab69299a83a51586369d1619d6c2ef251596
BLAKE2b-256 checksum
How to use checksums
c702bbd360991b43b94fcc9548dbd5930f243f848c4faa66864db42a22b39d96
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 21, 2026.

Transparency log

Security for vapoursynth-graph 1.1.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

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

Select from 6 files

Attestation for vapoursynth_graph-1.1.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 21, 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