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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow libpython-clj

libpython-clj Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libpython-clj!

Additional Project Details

Registered

2025-08-20