Liking cljdoc? Tell your friends :D

libpython-clj.python.bridge

Bridging classes to allow python and java to intermix.

Bridging classes to allow python and java to intermix.
raw docstring

->numpyclj

(->numpy item & [options])
source

as-dictclj

(as-dict map-data)
source

as-jvmclj

(as-jvm item & [options])

Bridge a python object into the jvm. Attempts to build a jvm bridge that 'hides' the python type. This bridge is lazy and noncaching so use it wisely; it may be better to just copy the type once into the JVM. Bridging is recursive so any subtypes are also bridged if possible or represented by a hashmap of {:type :value} if not.

Bridge a python object into the jvm.  Attempts to build a jvm bridge that 'hides' the
python type.  This bridge is lazy and noncaching so use it wisely; it may be better to
just copy the type once into the JVM.  Bridging is recursive so any subtypes are also
bridged if possible or represented by a hashmap of {:type :value} if not.
sourceraw docstring

as-numpyclj

(as-numpy item & [options])
source

as-py-fnclj

(as-py-fn jvm-fn)
source

as-pythonclj

(as-python item & [options])

Bridge a jvm object into python

Bridge a jvm object into python
sourceraw docstring

as-tupleclj

(as-tuple item-seq)
source

bridge-pyobjectcljmacro

(bridge-pyobject pyobj interpreter & body)
source

bridgeable-jvm-type?clj

(bridgeable-jvm-type? jvm-obj)
source

bridgeable-python-type-setclj

source

bridgeable-python-type?clj

(bridgeable-python-type? pyobj)
source

check-py-method-returnclj

(check-py-method-return retval)
source

check-pybool-returnclj

(check-pybool-return retval)
source

datatype->ptr-type-nameclj

(datatype->ptr-type-name dtype)
source

descriptor->numpyclj

(descriptor->numpy {:keys [ptr shape strides datatype] :as buffer-desc})
source

dtype->py-dtype-mapclj

source

generic-python-as-jvmclj

(generic-python-as-jvm pyobj)

Given a generic pyobject, wrap it in a read-only map interface where the keys are the attributes.

Given a generic pyobject, wrap it in a read-only map interface
where the keys are the attributes.
sourceraw docstring

generic-python-as-listclj

(generic-python-as-list pyobj)
source

generic-python-as-mapclj

(generic-python-as-map pyobj)
source

impl-tuple-functioncljmacro

(impl-tuple-function & body)
source

jvm-fn->ifaceclj

(jvm-fn->iface jvm-fn)
source

jvm-iterable-as-pythonclj

(jvm-iterable-as-python jvm-data)
source

jvm-iterator-as-pythonclj

(jvm-iterator-as-python item)
source

jvm-list-as-pythonclj

(jvm-list-as-python jvm-data)
source

jvm-map-as-pythonclj

(jvm-map-as-python jvm-data)
source

numpy->descclj

(numpy->desc np-obj)
source

obj-dtype->dtypeclj

(obj-dtype->dtype py-dtype)
source

py-dtype->dtype-mapclj

source

python-iterable-as-jvmclj

(python-iterable-as-jvm pyobj)
source

wrap-jvm-contextcljmacro

(wrap-jvm-context & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close