Python API reference#

Moruna requires Python 3.14 or later and pyarrow>=17. The names below are available from import moruna, except the functions under moruna.std. moruna.__version__: str is the installed package version.

Reference

What you can look up

moruna.run

All run arguments, defaults, return value and failures.

Kernels

moruna.kernel, KernelSpec, moruna.polars, state methods and declarations.

Sources

Built-in constructors, Source methods and Split attributes.

Sinks

Built-in constructors and Sink methods.

Standard kernels

Every moruna.std function and StdKernel attributes.

Results and errors

RunReport, inspect_host, and the exception hierarchy.

For longer examples, see Running jobs from Python, Writing kernels, and Custom sources and sinks.