Built-in sandbox SHIM: a tabulate-compatible module for the model's Python
sandbox, implemented in PURE Python (stdlib only) — NO host/JVM bridge. The
tabulate PyPI package is not in GraalPy, so agents that reach for
from tabulate import tabulate would otherwise hit ModuleNotFoundError; this
extension contributes a :ext/sandbox-shims entry that env-python installs
into every sandbox Context (main + every sub_loop fork).
The shim covers the tablefmts agents reach for most: plain, simple, github,
pipe, orgtbl, presto, grid, fancy_grid, rst, tsv and html, with numeric /
string alignment, floatfmt, showindex, and headers='keys'/'firstrow'.
It accepts list-of-lists, list-of-dicts, dict-of-lists, and duck-types the
pandas shim's DataFrame. A correctness-focused SUBSET, not full tabulate.
Like shim-numpy there are NO :shim/bindings: a self-contained Python
preamble with zero host callables. Publishes a tabulate module into
sys.modules (so import tabulate works) and staples the tabulate fn onto
builtins.
Built-in sandbox SHIM: a `tabulate`-compatible module for the model's Python sandbox, implemented in PURE Python (stdlib only) — NO host/JVM bridge. The `tabulate` PyPI package is not in GraalPy, so agents that reach for `from tabulate import tabulate` would otherwise hit ModuleNotFoundError; this extension contributes a `:ext/sandbox-shims` entry that env-python installs into every sandbox Context (main + every `sub_loop` fork). The shim covers the tablefmts agents reach for most: plain, simple, github, pipe, orgtbl, presto, grid, fancy_grid, rst, tsv and html, with numeric / string alignment, `floatfmt`, `showindex`, and `headers='keys'/'firstrow'`. It accepts list-of-lists, list-of-dicts, dict-of-lists, and duck-types the pandas shim's DataFrame. A correctness-focused SUBSET, not full tabulate. Like `shim-numpy` there are NO `:shim/bindings`: a self-contained Python preamble with zero host callables. Publishes a `tabulate` module into `sys.modules` (so `import tabulate` works) and staples the `tabulate` fn onto builtins.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |