Skip to main content

Module python_process

Module python_process 

Source
Expand description

Python subprocess โ€” persistent daemon for filter execution.

Spawns a Python child process that loads filters via cloudpickle and executes fit/forward commands via stdin/stdout JSON Lines. The GIL is completely isolated from the Rust process โ€” no segfaults.

Structsยง

PythonProcess
A persistent Python child process that executes filter commands.
SubprocessFilter
A filter that delegates to a shared PythonProcess via stdin/stdout. Multiple SubprocessFilters can share the same process (Arc).