ipython notebook utilities