{"repo":"clj-python/libpython-clj","free":true,"listed":false,"github":"https://github.com/clj-python/libpython-clj","clone":"git clone https://github.com/clj-python/libpython-clj.git","description":"Python bindings for Clojure","language":"Clojure","stars":1206,"topics":["clojure","python3","python"],"license":"EPL-2.0","category":"dev-tools","readme_excerpt":"Deep Clojure/Python Integration Version Info ## New Versions Are HOT! Huge New Features! You Can't Afford To Miss Out! API Documentation Java API - you can use libpython-clj from java - no Clojure required. The class is included with the jar so just put the jar on the classpath and then import libpython clj2.java api; will work. Be sure to carefully read the namespace doc as, due to performance considerations, not all methods are protected via automatic GIL management. Note this integration includes support for extremely efficient data copies to numpy objects and callbacks from python to java. make-fastcallable so if you calling a small function repeatedly you can now call it about twice as fast. A better optimization is to call a function once with numpy array arguments but unfortunately not all use cases are amenable to this pathway. So we did what we can. JDK-17 and Mac M-1 support. To use libpython-clj2 with jdk-17 you need to enable the foreign module - see deps.edn for a working alias. You can now Embed Clojure in Python - you can launch a Clojure REPL from a Python host process. 32 bit support !! 20-30% better performance. Please avoid deprecated versions such as [cnuernber/libpython-clj \"1.36\"] ( note name change ). This library, which has received the efforts of many excellent people, is built mainly upon cnuernber/dtype-next and the JNA library. Static code generation - generate clojure namespaces wrapping python modules that are safe to use with AOT and load much f","default_branch":null,"files":null,"tree":[],"storefront":"/r/clj-python","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/clj-python/libpython-clj/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}