red-data-tools/pycall.rb
Calling Python functions from the Ruby language observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3619
- days_rel: 12
- days_push: 12
- n_releases_24m: 1
Adoption not part of the score
1116 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyCall.rb is a Ruby library that lets Ruby code directly call Python functions and interoperate with Python modules via the CPython C API. It imports arbitrary Python modules into Ruby with automatic type conversion for numbers, strings, arrays, and hashes.
Use cases
- call python functions from ruby
- use numpy or pandas in a ruby program
- run machine learning models from ruby
- import python modules into ruby
- bridge ruby and python codebases
- use python libraries for data science in ruby
When to choose
- you need Python's ecosystem (numpy, pandas, scikit-learn) from Ruby code
- you want automatic type conversion between Ruby and Python objects
- you're building Ruby data-science or ML tooling on top of Python libraries
When to avoid
- your workload is heavily multi-threaded - PyCall does not officially support multi-threaded use
- you need full bidirectional interop (calling Ruby from Python)
- you can't provide a Python shared library (e.g. default pyenv builds without --enable-shared)
Facets
library · maturity active
sdk interpreter data-science machine-learning developer-tools programming-languages ruby python windows ruby-gem python-interop ffi language-bridge rubydatascience linux macos
1 source
- readme: https://github.com/red-data-tools/pycall.rb · fetched 2026-08-28 · cf9243cf8e54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| red-data-tools/pycall.rb | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="red-data-tools/pycall.rb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem