Skip to content
madlag edited this page Jun 27, 2012 · 7 revisions

Jarvis: a python coding companion

Jarvis is a Python coding companion. Point it to a python function, and it will execute it. As soon as you change and save your code, Jarvis will detect it, and will rerun the function.

If an exception is raised, it will be displayed in the error panel.

If you insert some debugging statements in your code, they will be displayed in the debug panel.

Last, but not least, if you are using OpenSceneGraph Python bindings, you will be able to output an OSG tree to the Jarvis interface. This way, you can instantly see the new 3D scene your code is generating.

Demo Video

You can have a better description and a demo video on the Jarvis Front Page.

Inspiration

Jarvis was inspired by works of Bret Victor, especially his talk Inventing on Principle .

The central idea is that the feedback loop when you are coding should be the shortest possible, so you can see the effect of your code changes instantly, or almost. Jarvis implements a (small) subset of these ideas.

Those ideas are also used in the Light Table KickStarter project.

Installing

  1. install qt, pyqt, osg, osgswig
  2. install pymacs and jinja2 if you want to use emacs bindings
  3. pip install jarvis
  4. jarvis -c my_python_file.py:main
  5. Enjoy !

Full Documentation

You will find the full documentation at Jarvis Read The Docs .