Python API reference#
The public Python package exports peql.Engine, peql.Caller and peql.Refused. peql.__version__ is a string. The wrapper uses PyArrow tables and schemas; the native extension converts them to Arrow IPC internally. Requires Python 3.9 or later.
Reference |
What it covers |
|---|---|
Workspace construction and every method, with parameters and results. |
|
Identity, purpose, tenant and optional policy context. |
|
Return shapes, verdict, envelope and exception mapping. |
See Using peQL from Python for an end-to-end example.