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.0.2

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.0.2
File Size Uploaded Provenance Actions
vapoursynth_graph-1.0.2.tar.gz 38.6 kB With provenance Details for vapoursynth_graph-1.0.2.tar.gz

Built distributions (wheels)

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

Total release size: 1.7 MB

Release files / vapoursynth_graph-1.0.2.tar.gz

Download URL vapoursynth_graph-1.0.2.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
66c43ec17e3149a4d37fc751667c1370e52a7a17344cdc59e68645db1e674bae
BLAKE2b-256 checksum
How to use checksums
65fa66f9eed9acfc41b47bcb44ac4f58d6f6bec78a13b9342300064e10ebe687
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 2, 2026.

Transparency log

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

Download URL vapoursynth_graph-1.0.2-py3-none-win_amd64.whl
Size 319.2 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c6aeebef1bd3f1b7c79b3e6f1f652d83ecc8622dd1da5af0069abbc4914cbe03
BLAKE2b-256 checksum
How to use checksums
0f02c17365d5b6758fd44a1807fea463377cad5d5f830e2a65c31b1e16c6d1e3
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 2, 2026.

Transparency log

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

Download URL vapoursynth_graph-1.0.2-py3-none-manylinux_2_28_x86_64.whl
Size 580.1 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f1fd5efe95bac4de99b64c7d5b900382dab02f0e1b228a7963b8f775220e451a
BLAKE2b-256 checksum
How to use checksums
fc067177d7b22d7bd3ef5fefb51cc853f7269067eb3bddedb5f887f2cbcf8d52
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 2, 2026.

Transparency log

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

Download URL vapoursynth_graph-1.0.2-py3-none-manylinux_2_28_aarch64.whl
Size 195.6 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
980a5babf2e69f86bef0621c3a4a66784a8ad079a1a47dd5e4207a1ecb5a5408
BLAKE2b-256 checksum
How to use checksums
6c3342badb4ac1015d25337da543b0fa902263b24953656905eb653659e53cd8
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 2, 2026.

Transparency log

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

Download URL vapoursynth_graph-1.0.2-py3-none-macosx_13_0_x86_64.whl
Size 383.6 kB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
31778ee3a9dd212b19a94a67f99e075769b2bd0c607c2798d096f6fcc52c19cb
BLAKE2b-256 checksum
How to use checksums
e759c4583e4fb98eca30e061d18b029bd57e08fb53c05a21dd8f7a7b3cafe592
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 2, 2026.

Transparency log

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

Download URL vapoursynth_graph-1.0.2-py3-none-macosx_13_0_arm64.whl
Size 190.5 kB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bc5556a2c287e2e4f09165d5f1b0b4c7a3b8b9ff08a8314bc40fc878582b2403
BLAKE2b-256 checksum
How to use checksums
c137912989f96607b18e2f4b532b0171d00bfc01bd1bdbb636124b2ddd0f2478
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 2, 2026.

Transparency log

Security for vapoursynth-graph 1.0.2

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.0.2.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 2, 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