[IPython-dev] testing ipython-zmq

Brian Granger ellisonbg@gmail....
Tue Jun 15 15:30:17 CDT 2010


Omar,

This looks very interesting and promising.  I will try to look at it
further and try it out soon.

Cheers,

Brian

2010/6/12 Omar Andrés Zapata Mesa <andresete.chaos@gmail.com>:
> hi all.
> some code of ipython-zmq is ready in github repo.
> you can see it this way.
> install firts pyzmq read howto here:
> http://www.zeromq.org/bindings:python
> get ipython-zmq experimental code
> $git clone github.com/omazapa/ipython.git
> like root
> #cd ipython
> #python setup.py build
> #python setup.py install
> like a user.
> you need open two terminals
> terminal One:
> $cd ipython/IPython/core/
> $python iplib_kernel.py
> terminal two:
> $cd ipython/IPython/core/
> $python iplib_frontend.py
> Features:
> -> zmq communication (using json)
> -> tab completion (support magics commands, alias and imported modules very
> fine)
> -> ipython prompt indentation
> -> colors (no in tracebacks yet)
> -> ipython output capture ie:
> In [1] : 2
> Out [3] : 2
> In [2] :_3
> Out [4] : 2
> -> some magics commands are working fine but we need to restructured to two
> processes
>
> I think we need write some magics to frontend and kernel
> I suggest for now:
> %kernel history
> %kernel reset (restore to empty kernel)
> %kernel quit (close the kernel)
> %kernel start (start a new kernel)
> %kernel save_status session_name  (save code and variables in a file asigned
> to session_file  )
> %kernel load_status session_name  (load code and variables fron session_name
> )
> %kernel restore  (restore last log, it if kernel fail and crash )
> %frontend quit
> %frontend colors colors_type
> Note: remember that it is just a experimental code.
> Best wishes.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu
ellisonbg@gmail.com


More information about the IPython-dev mailing list