libpython-clj is a deep interop library enabling you to load and use Python modules from within Clojure as if they were native namespaces—and even extend Python objects from Clojure. It bridges to the Python C API, preserving REPL‑based workflows. Bridge between JVM objects and Python objects easily; use Python in your Java and use some Java in your Python. Python objects are linked to the JVM GC such that when they are no longer reachable from the JVM, their references are released. Scope-based resource contexts are also available. Finding the Python libraries is done dynamically, allowing one system to run on multiple versions of Python.
Features
- Import Python modules directly into Clojure namespaces using require-python
- Call Python functions and manipulation of Python objects seamlessly
- Deep integration enabling extension of Python objects using Clojure
- Supports both embedded and external invocation modes
- Enables access to vast Python ecosystem (NumPy, Deep Learning, etc.)
- Gaining traction in sci-clojure and data science communities
Categories
LibrariesFollow libpython-clj
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of libpython-clj!