IPython 5.0-LTS 发布,全新终端界面

IPython 5.0 LTS (长期支持版本),IPython 是 Jupyter 的 Python 内核,可以与 Python shell 交互,在终端提供丰富的 Python 流体交互式计算特性集合。IPython 在 Jupyter Notebook 和其他所有客户端都支持 Jupyter 架构。

IPython 5.0 是个长期支持版本,IPython 5.x 版本直到 2017 年年底之前都会修复 bug 并提供修复版本更新,并且在 2018-2019 年之间还会继续接受 request 并且在必要的时候发布新版本。

IPython 5.0 将会是最后一个支持 Python 2 的大版本,IPython 6.x 开始会要求 Python 3。

IPython 5.0 版本包括大量对现有特性的改进和新特性 ( 27 位贡献者提交了 227 commits,超过 191 PRs),最重要的是, 大大改进了经典 IPython 命令行界面。

尝试新版本:

pip install ipython --upgrade  

全新终端界面

Decoupling IPython from the Jupyter Notebook package has allowed the core team to focus on improving the command line interface independently of the notebook. The awkward dependencies on pyreadline for Windows and gnureadline for Mac prompted Thomas Kluyver to replace the old machinery with a brand new pure-python readline replacement: prompt_toolkit.

prompt_toolkit 包已经更新到 1.0 版本,提供了大量终端文本编辑的特性,并且也大大提升了用户体验。prompt_toolkit 是跨平台库,支持 Linux/Unix, macOS 和 Windows,因此,IPython 现在支持:

  • 语法高亮
  • 实时多行编辑
  • 多行粘贴,不会跳出缩进或者立即执行的代码
  • 更好的代码完成界面
  • 可选鼠标支持

screenshot showing IPython 5.0 on a light background terminal with syntax highlighting and completion open

 

Jupyter 工作台

Jupyter Console 提供交互式客户端 IPython 终端体验,但是连接到任意 Jupyter 内核而不只是 IPython,用户可以测试任意 Jupyter Kernel。

更多改进详情请看这里:http://blog.jupyter.org/2016/07/08/ipython-5-0-released/

IPython 遵循 BSD 开源授权协议,下载:

ipython-5.0.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-07-08 726KB
ipython-5.0.0.tar.gz (md5) Source 2016-07-08 4MB
ipython-5.0.0.zip (md5) Source 2016-07-08 4MB

 

Related Posts

开源视频翻译工具-VideoTrans

开源视频翻译工具-VideoTrans

开源的元搜索引擎-whoogle-search

开源的元搜索引擎-whoogle-search

开源数据表格-Grist

开源数据表格-Grist

No Comments Yet

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注