vs_proxy ΒΆ
Drop-in replacement for import vapoursynth that re-exports the upstream API and layers additional functionality on top.
Key additions:
-
Lazy / proxied core access
Allows holding references like
core.std.BlankClipwithout triggering core creation or locking into an environment policy.core.proxied: A weakref-backed proxy to the current active core.core.lazy: A completely lazy proxy resolving only on function invocation.
-
Core lifecycle hooks
register_on_creation/unregister_on_creationreact to core instantiation. -
Policy and environment introspection
Retrieve environment policies via GC graph walking and check active environment status.
-
Interactive compatibility
Stubs
__file__and the__vapoursynth__module for Jupyter notebooks, REPLs, and IDE interactive windows so VSScript environment policies resolve correctly. -
Extended preset video formats
Exports missing bit-depth and subsampling variant constants.