Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.48 KB

draft.md

File metadata and controls

42 lines (28 loc) · 1.48 KB

#Jupyter/IPython newsletter for Date.

Misc links to write about:

prompt_toolkit in Jupyter Console and IPython

Our two terminal interfaces - Jupyter Console and IPython - have switched from using readline to prompt_toolkit, a pure Python library for terminal interaction. Code is now highlighted as you type, and multi-line editing and pasting are much improved. This should also make installation easier - we no longer need pyreadline on Windows or gnureadline on Mac.

Screenshot from IPython with prompt_toolkit

Jupyter Console is the Jupyter terminal frontend, which can communicate with kernels to run many different languages. IPython is the single-process Python shell. These changes will arrive in version 5.0 of each package.

nbstripout

People keep reinventing the wheel and write their own git filter that clean-up outputs of notebook in VCS. While we think that output should be stored – for example to be rendered ion nbviewer – we understand the needs for such filters:

Nice to see Jovyans getting together, and write a tool that can easily be installed/uninstalled to add git hooks:

https://github.com/kynan/nbstripout
$ pip install nbstripout
$ cd git/repository
$ nbstripout install