Jupyter初步了解

· 1 min read

Jupyter Notebook是基于网页的用于交互计算的应用程序。其可被应用于全过程计算:开发、文档编写、运行代码和展示结果

Jupyter定位

  1. scientific computing

Jupyter安装

# python require

# 安装
pip install notebook

# 中文语言包
pip install jupyterlab-language-pack-zh-CN


# 启动
jupyter notebook --allow-root  --ip 0.0.0.0 --port 8888

jupyter server list


# 后台运行
nohup jupyter notebook --allow-root  --ip 0.0.0.0 --port 8888 &


# 版本查看
jupyter --version

产品形态

服务端-WEB版

https://github.com/jupyter/notebook

Lie版-完全在浏览器中运行

jupyterlite

demo:https://jupyterlite.readthedocs.io/en/latest/_static/lab/index.html

插件版

https://github.com/Microsoft/vscode-jupyter

定制化

  • 国际化
    • 如上安装语言包
  • 插件拓展

其它

  1. jupyter中Terminal技术栈为xtermjs+codemirror

相关文档

Authors
开发者,数码产品爱好者,喜欢折腾,喜欢分享,喜欢开源