skip to navigation
skip to content

scilab2py 0.6

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.4 or newer installed and in your PATH. You must have the Numpy and Scipy libraries installed.

To install Scilab2Py, simply:

$ pip install scilab2py


Documentation is available online.

For version information, see the Revision History.

File Type Py Version Uploaded on Size
scilab2py-0.6-py2.py3-none-any.whl (md5) Python Wheel 3.4 2015-01-17 36KB
scilab2py-0.6.tar.gz (md5) Source 2015-01-17 463KB (md5) Source 2015-01-17 484KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 206 downloads in the last week
  • 1237 downloads in the last month