Python to Scilab bridge
Scilab2Py is a means to seamlessly call Scilab functions and scripts from Python. It manages the Scilab session for you, sharing data behind the scenes using MAT files. Usage is as simple as:
>>> sci = scilab2py.Scilab2Py() >>> x = sci.zeros(3,3) >>> print x, x.dtype [[ 0. 0. 0.] [ 0. 0. 0.] [ 0. 0. 0.]] float64 ...
- Supports most Scilab datatypes and most Python datatypes and Numpy dtypes.
- Provides ScilabMagic for IPython, including inline plotting in notebooks.
- Supports cell arrays and structs with arbitrary nesting.
- Supports sparse matrices.
- Builds methods on the fly linked to Scilab commands (e.g. zeros above).
- Nargout is automatically inferred by the number of return variables.
- Thread-safety: each Scilab2Py object uses an independent Scilab session.
- Can be used as a context manager.
- Supports Unicode characters.
- Supports logging of session commands.
- Optional timeout command parameter to prevent runaway Scilab sessions.
You must have Scilab 5.5 installed and in your PATH. You must have the Numpy and Scipy libraries installed.
To install Scilab2Py, simply:
$ pip install scilab2py
Note: scilab2py has been tested with Ubuntu 14.04 and Windows 7. It does not work on Ubuntu 12.04.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|scilab2py-0.2-py2.py3-none-any.whl (36.2 kB) Copy SHA256 hash SHA256||Wheel||2.7||Aug 16, 2014|
|scilab2py-0.2.tar.gz (348.5 kB) Copy SHA256 hash SHA256||Source||None||Aug 16, 2014|
|scilab2py-0.2.zip (361.5 kB) Copy SHA256 hash SHA256||Source||None||Aug 16, 2014|