Octave as a module for Python
David Grundberg
c04dgg at cs.umu.se
Tue May 5 14:32:50 CDT 2009
Announcing Pytave
An Octave module for Python
===========================
Pytave enables Python scripts to use existing m-files (Octave/Matlab
scripts) for numerical calculations. Pytave embeds the Octave
language interpreter as a module to Python.
This new revision allows dictionaries and lists to be passed to
Octave.
Example use
===========
Calling Octave code in the interactive Python interpreter:
>>> import pytave
>>> pytave.feval(1, "cos", 0)
(1.0,)
Goals
=====
Pytave strives to uphold these points
* Good out of the box experience
* Good-natured implicit type conversions, no strange PyApple ->
octave_orange -> PyBanana chains
Features
========
A short list of what Pytave is capable of
* Implicit type conversions between Python and Octave. Supports all
Numeric integer, real double (and possibly real float) matrices
* Architecture independent - no assumption on endian type or integer
sizes
* Supports cell <-> list and struct <-> dict conversions. (NEW)
Project homepage
================
https://launchpad.net/pytave
Using/hacking
=============
You need the Bazaar version control software (bzr). Branch from trunk
with:
$ bzr branch lp:pytave
You will now have a directory called `pytave' with source code for
the module. Read the INSTALL file for building instructions.
More information about the Help-octave
mailing list