libpython-clj icon indicating copy to clipboard operation
libpython-clj copied to clipboard

Python bindings for Clojure

Results 50 libpython-clj issues
Sort by recently updated
recently updated
newest added

The below code seems to be inconsistent. Converting a Clojure map to a python dictionary shows presence of key "a". But then I can not get the key "a" out...

See https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/-.3Ejvm.20on.20ndarray.20of.20type.20'object'.20fails

I tried out libpython-clj and was facing the following error message: ``` "Execution error at libpython-clj2.python/initialize! (python.clj:87). Failed to find a valid python library!" ``` The cause of this error...

https://clj-python.github.io/libpython-clj/Usage.html ```clojure (require '[libpython-clj.python :refer [as-python as-jvm ->python ->jvm get-attr call-attr call-attr-kw get-item att-type-map call call-kw initialize! as-numpy as-tensor ->numpy run-simple-string add-module module-dict import-module python-type]]) ``` fails. Removing call, as-numpy,...

see discussion here: https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/core.20dump I will provide repro with repoducible szenario soon.

In some scenarios the call `pickle/dump` done in Clojure fails. One reason seems to be that the synthetic class `__jvm_io_bridge__` cannot be pickled. See here: https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/pickle.20complex.20python.20object.20.3F

There are reasonable conversions that should be automatic. - Timestamp to java.time.Instance.

Thanks for this project! I enjoyed the talk from this year's Conj and it made me want to dive right in. My use case is somewhat unique, I think: I'm...

I'm having problems using the library on my RaspberryPi 4; here some details Os: ``` $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian...

I'm just starting to try to use this amazing project. I'm trying to do everything in windows for project-specific reasons. I could be missing something obvious because I lack experience...