Liking cljdoc? Tell your friends :D

rt.libpython


+init+clj


+options+clj


+preamble+clj


eval-libpythonclj

(eval-libpython _ string)

evals body in the runtime

(lp/eval-libpython nil "OUT = 1 + 1") => 2

evals body in the runtime

(lp/eval-libpython nil
                   "OUT = 1 + 1")
=> 2
raw docstring

eval-rawclj

(eval-raw _ string)

performs an exec expression

performs an exec expression
raw docstring

invoke-libpythonclj

(invoke-libpython {:keys [state lang layout] :as rt} ptr args)

invokes a pointer in the runtime

(lp/invoke-libpython (l/rt :python) k/sub [1 2]) => -1

invokes a pointer in the runtime

(lp/invoke-libpython (l/rt :python)
                     k/sub
                     [1 2])
=> -1
raw docstring

rt-libpythonclj

(rt-libpython m)

creates a libpython rt

creates a libpython rt
raw docstring

rt-libpython:createclj

(rt-libpython:create {:keys [id] :or {id (h/sid)} :as m})

creates a libpython runtime

(h/-> (lp/rt-libpython:create {:lang :js}) (h/start) (h/stop)) => lp/rt-libpython?

creates a libpython runtime

(h/-> (lp/rt-libpython:create {:lang :js})
      (h/start)
      (h/stop))
=> lp/rt-libpython?
raw docstring

rt-libpython?clj

(rt-libpython? obj)

checks object is a libpython rt

checks object is a libpython rt
raw docstring

start-libpythonclj

(start-libpython rt)

starts the libpython runtime

starts the libpython runtime
raw docstring

stop-libpythonclj

(stop-libpython rt)

stops the libpython runtime

stops the libpython runtime
raw docstring

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