Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python to Scilab bridge

Project Description

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
...

Features

  • 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.

Installation

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

Documentation is available online.

For version information, see the Revision History.

Release History

Release History

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scilab2py-0.6-py2.py3-none-any.whl (37.2 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jan 17, 2015
scilab2py-0.6.tar.gz (474.3 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2015
scilab2py-0.6.zip (496.4 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting