tupa-pyffi
Python FFI bridge for calling external Python functions from Tupa runtime.
Usage
use json;
use call_python_function;
let result = call_python_function?;
assert_eq!;
# Ok::
Notes
- Requires Python runtime/toolchain in build or runtime environment.
- Calls a Python function with a single JSON-like argument and converts the return value back to
serde_json::Value. - The target module must be importable from the active Python environment.
Applied usage
- Applied reference repository: ViperTrade
- ViperTrade is the main applied integration reference for embedded Tupa pipelines;
tupa-pyffiis available when those pipelines need Python-backed enrichment or interoperability.