# clj-python/libpython-clj

Python bindings for Clojure

Repository: https://github.com/clj-python/libpython-clj
Canonical: https://ross.abutalabs.com/products/libpython-clj
Language: Clojure
License: EPL-2.0
License Family: copyleft
Topics: clojure, python3, python
Last push: 2026-08-10T14:30:30+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 2666, "days_push": 23, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1206, forks 74 (observed 2026-08-28T04:03:59.390269+00:00)

## What it is
A Clojure library providing deep bidirectional integration between the JVM and Python, allowing Clojure/Java code to call Python libraries and vice versa. It bridges JVM and Python objects with GC-linked lifetimes, efficient numpy data copies, and supports embedding a Clojure REPL inside a Python host process.

## Use cases
- call python libraries from clojure
- use numpy and pandas from the jvm
- embed clojure in a python application
- use machine learning libraries like pytorch from clojure
- bridge jvm objects and python objects
- run a clojure repl inside python

## When to choose
- you are on the JVM and need Python's ecosystem (numpy, ML libraries) without leaving Clojure/Java
- you want bidirectional interop with GC-safe object lifetimes
- you need a Java-only API to embed Python without writing Clojure

## When to avoid
- you need a pure-Python or pure-Clojure solution without cross-language overhead
- your project requires strict GIL-free high-throughput calls to many small Python functions
- you are not on the JVM platform

## Facets
- artifact type: library
- maturity: active
- function: sdk, interpreter
- domain: programming-languages, data-science, machine-learning, developer-tools
- platform: jvm, python, cross-platform, windows
- tags: clojure, python-interop, jvm, numpy, interop, repl, macos, linux

## Member repositories
- clj-python/libpython-clj (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.390269+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:17.205568+00:00, confidence not recorded.
  - readme: https://github.com/clj-python/libpython-clj (fetched 2026-08-28T04:03:59.390269+00:00, sha c07f9390a74e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
