Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blink1073/scilab2py
[Deprecated] Python to Scilab Bridge
https://github.com/blink1073/scilab2py
Last synced: 3 months ago
JSON representation
[Deprecated] Python to Scilab Bridge
- Host: GitHub
- URL: https://github.com/blink1073/scilab2py
- Owner: blink1073
- License: other
- Archived: true
- Created: 2014-08-05T14:11:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T22:32:24.000Z (almost 5 years ago)
- Last Synced: 2024-10-13T13:38:29.285Z (4 months ago)
- Language: Python
- Homepage: http://blink1073.github.io/scilab2py/
- Size: 2.69 MB
- Stars: 7
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
[Deprecated] Scilab2Py: Python to Scilab Bridge
===================================
This package is officially deprecated, as I no longer have the bandwidth to maintain it... image:: https://badge.fury.io/py/scilab2py.png/
:target: http://badge.fury.io/py/scilab2py.. image:: https://pypip.in/d/scilab2py/badge.png
:target: https://crate.io/packages/scilab2py/.. image:: https://coveralls.io/repos/blink1073/scilab2py/badge.png?branch=master
:target: https://coveralls.io/r/blink1073/scilab2py?branch=masterScilab2Py 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:.. code-block:: python
>>> 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... _ScilabMagic: http://nbviewer.ipython.org/github/blink1073/scilab2py/blob/master/example/scilabmagic_extension.ipynb?create=1
Installation
------------
You must have Scilab_ 5.x installed and in your PATH.
This library does not support Scilab 6.0.
You must have the Numpy and Scipy libraries installed.To install Scilab2Py, simply:
.. code-block:: bash
$ pip install scilab2py
Documentation
-------------Documentation is available online_.
For version information, see the Revision History_.
.. _online: http://blink1073.github.io/scilab2py
.. _Scilab: http://www.scilab.org/download/
.. _History: https://github.com/blink1073/scilab2py/blob/master/HISTORY.rst