Liking cljdoc? Tell your friends :D

com.blockether.vis.ext.language-python.core

vis-language-python — a managed Python REPL exposed through the generic language facade (repl_start / repl_eval / repl_stop). Activates only when the workspace looks like a Python project. The REPL is a subprocess on a project-aware interpreter (uv / poetry / .venv / python3), registered as a session resource so it shows in ctx + the footer and is stoppable by id.

vis-language-python — a managed Python REPL exposed through the generic
language facade (repl_start / repl_eval / repl_stop). Activates
only when the workspace looks like a Python project. The REPL is a subprocess
on a project-aware interpreter (uv / poetry / .venv / python3), registered as
a session resource so it shows in ctx + the footer and is stoppable by id.
raw docstring

py-repl-eval-fnclj

(py-repl-eval-fn env arg)

repl_eval handler for Python. Accepts a code string or {code, dir, timeout_ms}. AUTO-STARTS a REPL for the dir if none is running, then evaluates (globals persist across calls).

repl_eval handler for Python. Accepts a code string or
`{code, dir, timeout_ms}`. AUTO-STARTS a REPL for the dir if none is running,
then evaluates (globals persist across calls).
sourceraw docstring

py-start-repl-fnclj

(py-start-repl-fn env op opts)

repl_start handler for Python. Positional op (default "start") + opts {dir, id}. Lifecycle: start / restart / stop / status. op arrives as a STRING from the model (strings-only boundary) — dispatch on it, no keyword minting.

repl_start handler for Python. Positional `op` (default "start") + opts
`{dir, id}`. Lifecycle: start / restart / stop / status. `op` arrives as a
STRING from the model (strings-only boundary) — dispatch on it, no keyword
minting.
sourceraw docstring

py-test-fnclj

(py-test-fn env arg)

run_tests handler for Python. Two backends behind {runner}:

  • "graalpy" (DEFAULT) — hermetic, stdlib-only. Discovers test_*.py / *_test.py under {paths} (default: tests/ if present, else the workspace root) and runs each in a TRUSTED GraalPy context via the built-in pytest shim. No project deps visible.
  • "project" — shells the project interpreter's pytest (uv/poetry/.venv/python3 -m pytest <paths>) so installed test deps ARE visible. Aliases: {interpreter true}. Pass an opts map {runner, paths, dir} (a bare code string is not accepted).
run_tests handler for Python. Two backends behind `{runner}`:
  - "graalpy" (DEFAULT) — hermetic, stdlib-only. Discovers `test_*.py` /
    `*_test.py` under `{paths}` (default: `tests/` if present, else the
    workspace root) and runs each in a TRUSTED GraalPy context via the
    built-in pytest shim. No project deps visible.
  - "project" — shells the project interpreter's pytest
    (`uv`/`poetry`/`.venv`/`python3` `-m pytest <paths>`) so installed test
    deps ARE visible. Aliases: `{interpreter true}`.
Pass an opts map `{runner, paths, dir}` (a bare code string is not accepted).
sourceraw docstring

register-repl-resource!clj

(register-repl-resource! session dir result & [id])

Mirror a managed Python REPL into the session resource registry (ctx + footer

  • stop/restart by id). No-op without a session or a live pid.
Mirror a managed Python REPL into the session resource registry (ctx + footer
+ stop/restart by id). No-op without a session or a live pid.
sourceraw docstring

vis-extensionclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close