Ruby/Python extension library
Ruby extension library for embedding Python in Ruby. With this library,
Ruby scripts can directly call arbitrary Python modules. Both extension
modules and modules written in Python can be used.
Ruby and Python have some differences as described compar.html">here.
This library enables Ruby users to have the advantages of both languages:
- Straightforward and easy-to-learn OO functionality of Ruby.
- Plenty of modules written for Python.
If you are attracted by Python modules but not fully satisfied
with Python's syntax or type system, try this library!
Documentation
- Manual
- Example scripts using httplib and htmllib of Python.
Download
- ruby-python-0.3.3.tar.gz
- FreeBSD
Ports by knu.
- Major Changes:
- Changes from 0.3.2 to 0.3.3:
- fixed problem with ruby-1.6.0
- Changes from 0.3.1 to 0.3.2:
- Changes from 0.3 to 0.3.1:
- Sequence and Mapping interfaces are improved.
- `Python => Ruby object' interface is improved.
- Changes from 0.2.1 to 0.3:
- Based on ruby-1.3.x
- Keyword argument is supported.
- Changes from 0.2 to 0.2.1:
- Support modules using Python's package feature.
- English documentation updated.
Related Links