Registry / other / pycall

pycall

JSON →
library1.5.2rbrubygemsunverified

Call Python functions from Ruby code using the PyCall library.

gem install pycall
INSTALL
IMPORT
SIG · PYCALL
P
pycall
otherrubyv1.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PyCall
require 'pycall'

Import and call Python modules from Ruby.

require 'pycall' math = PyCall.import_module('math') math.sin(math.pi / 2) # => 1.0
Debug
Known issues
gotchaRequires Python to be installed and accessible.
fix
Ensure Python is installed and the 'python' command is available in PATH.
affects: >= 1.0.0
Upgrade
Version history
1.5.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
pycall — gem install pycall · libregistry