Liking cljdoc? Tell your friends :D

argus.bridge

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.
raw docstring

call-fnclj

(call-fn bridge fn-name & {:keys [args kwargs] :or {args [] kwargs {}}})

Call a module-level Python function.

Call a module-level Python function.
sourceraw docstring

call-methodclj

(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.
sourceraw docstring

close-bridgeclj

(close-bridge {:keys [proc]})
source

create-sessionclj

(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.
sourceraw docstring

make-bridgeclj

(make-bridge)
(make-bridge module & {:keys [python bridge-path]})

Spawn the Python bridge subprocess.

Spawn the Python bridge subprocess.
sourceraw docstring

ref-sessionclj

(ref-session session-id)
source

session-refclj

(session-ref {:keys [session-id]})
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