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

clj-kondo config exports for libpython-clj2 Closes #268

see [#libpython-clj-dev > declarative python environments with uv](https://clojurians.zulipchat.com/#narrow/channel/215609-libpython-clj-dev/topic/declarative.20python.20environments.20with.20uv/with/536998836)

This: `cljbridge.init_jvm(start_repl=True)` results in: `RuntimeError: Failed to create Java VM. Return code = -1` # My context - MacOS 15.7.2, Python 3.9.6 - tested with Java `temurin@17` & `temurin@21` (via...

The `py/with` macro implementation doesn't correctly follow Python's `with` statement semantics. According to the [Python documentation](https://docs.python.org/3/reference/compound_stmts.html#the-with-statement), the value bound in a `with` statement should be the return value of calling...

The linter is doing something weird, because it assumes that py/py. is actually a reference to the symbol "py/py" with no ".". I'm unable to write a custom :lint-as for...

the problem to access nested Python attributes or methods **(py.. torch/backends mps is_available)**, Please comment how to fix it ``` (defn get-device [] (try (let [device (torch/device (if (py.. torch/backends...

The fix of #216 is not fully solving the issue. using "libpythin-clj", there is so far no way to enforce "autoflush". So when a third party python library does not...

Hi, I experienced an issue while I was using libpython-clj to encode the returned list as json via cheshire, it threw an exception with this snippet: ``` (println "Just something...

Hello! First, I'd like to thank you for the amazing work on this library. It's a mind-bending level of inter-language interaction, IMO. 👏 I was experimenting with it in the...