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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vapoursynth_graph-1.0.1.tar.gz | 38.5 kB | With provenance | Details for vapoursynth_graph-1.0.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| vapoursynth_graph-1.0.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for vapoursynth_graph-1.0.1-py3-none-win_amd64.whl |
| vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_x86_64.whl |
| vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_aarch64.whl |
| vapoursynth_graph-1.0.1-py3-none-macosx_13_0_x86_64.whl | Python 3 | none | macOS 13.0+ x86-64 | Details for vapoursynth_graph-1.0.1-py3-none-macosx_13_0_x86_64.whl |
| vapoursynth_graph-1.0.1-py3-none-macosx_13_0_arm64.whl | Python 3 | none | macOS 13.0+ ARM64 | Details for vapoursynth_graph-1.0.1-py3-none-macosx_13_0_arm64.whl |
Total release size: 1.7 MB
Release files / vapoursynth_graph-1.0.1.tar.gz
| Download URL | vapoursynth_graph-1.0.1.tar.gz |
|---|---|
| Size | 38.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c3bd3089c536ea4d6af795912c94b9e5041cf1f09f3df893019347e1fb492e8
|
|
BLAKE2b-256 checksum How to use checksums |
a58f3a6becd2a305482f5b4caf2b8bfdab3e25ed5f1fa319658661e017c3dcc8
|
| 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 logRelease files / vapoursynth_graph-1.0.1-py3-none-win_amd64.whl
| Download URL | vapoursynth_graph-1.0.1-py3-none-win_amd64.whl |
|---|---|
| Size | 319.1 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0a39077437c4ae5febcbd6a707adf034fd6efefc252dcdd95091d291f20f72f7
|
|
BLAKE2b-256 checksum How to use checksums |
f2450356fef765c0e72617c9a035ff8ae824a8d4fe744acd2344504b6a7b27ff
|
| 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 logRelease files / vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_x86_64.whl
| Download URL | vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 580.0 kB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
a9bb5bfd31ad192639cb5a9c057f05afb75e66373dd827a1eff04163e1a35f52
|
|
BLAKE2b-256 checksum How to use checksums |
5f18c7c9305284be4e2a7e784845e7c2414e54ae8f63204c852d556dd4649b55
|
| 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 logRelease files / vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_aarch64.whl
| Download URL | vapoursynth_graph-1.0.1-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 195.5 kB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
29633eb614039f4fc1cc1d9bb3d0feeb50849641332380097dab4dcb7635bee6
|
|
BLAKE2b-256 checksum How to use checksums |
7bd825b8deee52a49e98270749064e150a95b546a096f88b9ee1a2dd6f44e2a0
|
| 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 logRelease files / vapoursynth_graph-1.0.1-py3-none-macosx_13_0_x86_64.whl
| Download URL | vapoursynth_graph-1.0.1-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 |
e1713fa7998cecac36c46f6386a4aa31d0ed6a7f4a44f9e326e475e7cd17295c
|
|
BLAKE2b-256 checksum How to use checksums |
c6eee1050fa106632870e80955e0928aac57f2cee280b692c8235e005991c037
|
| 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 logRelease files / vapoursynth_graph-1.0.1-py3-none-macosx_13_0_arm64.whl
| Download URL | vapoursynth_graph-1.0.1-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 190.4 kB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6035561cda16de5d93e29ba0cac5c804b6d92c7071a016aa57c42f37e3d2115e
|
|
BLAKE2b-256 checksum How to use checksums |
3d70ce1c355e4bfdbfeaefbe7fc1a6d1b85ad5fcb2153280e5db72e0964f1566
|
| 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 logSecurity for vapoursynth-graph 1.0.1
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.
Attestation for vapoursynth_graph-1.0.1.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 logA 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.