ARGUS Clojure Bridge — spawns argus_bridge.py, communicates via JSON-Lines. Compatible with Leiningen and deps.edn.
ARGUS Clojure Bridge — spawns argus_bridge.py, communicates via JSON-Lines. Compatible with Leiningen and deps.edn.
(call-fn bridge fn-name & {:keys [args kwargs] :or {args [] kwargs {}}})Call a module-level Python function.
Call a module-level Python function.
(call-method {:keys [session-id module bridge]}
method
&
{:keys [args kwargs] :or {args [] kwargs {}}})Call a method on a session.
Call a method on a session.
(create-session bridge
class-name
&
{:keys [init-kwargs init-args]
:or {init-kwargs {} init-args []}})Instantiate a Python class; returns a Session.
Instantiate a Python class; returns a Session.
(make-bridge)(make-bridge module & {:keys [python bridge-path]})Spawn the Python bridge subprocess.
Spawn the Python bridge subprocess.
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 |