[IPython-dev] remote interactive shell using JSON RPC

Ondrej Certik ondrej at certik.cz
Fri Oct 22 18:08:40 EDT 2010


Hi guys,

in case you wanted to play, try this:

$ git clone git://github.com/hpfem/femhub-online-lab.git
$ cd femhub-online-lab/
$ PYTHONPATH=. bin/ifemhub
Connecting to the online lab at http://lab.femhub.org/ ...
Initializing the engine...
FEMhub interactive remote console
>>>

And then type, for example:

>>> import femhub
>>> femhub.Mesh?
Represents a FE mesh.
[...]


and so on. Try TAB completion, ?, ??, ...

This is communicating with our online lab using JSON RPC, and the
Python engine is running within femhub, so all packages that are
installed in FEMhub are accesible (matplotlib, sympy, ...).

Ondrej



More information about the IPython-dev mailing list