ipythonng

ipythonng is a small IPython extension for terminal sessions that adds:

Install

pip install ipythonng

Use as an extension

Add the extension and enable output logging in your IPython config:

c.InteractiveShellApp.extensions = ["ipythonng"]
c.HistoryManager.db_log_output = True
c.InteractiveShellApp.exec_lines = ["%matplotlib inline"]  # if you like

Or launch it ad hoc:

ipython --ext ipythonng

For matplotlib, %matplotlib inline works with the existing image/png renderer. No custom matplotlib backend is needed. Using exec_lines runs the magic after extensions load.

Convenience launcher

The package also installs an ipythonng command that simply starts IPython with --ext ipythonng.