這裏寫自定義目錄標題
Python爲默認語言來搭建JupyterLab,首先確認你安裝好了Python基本環境:
# 一行命令搞定
pip install jupyterlab
# 安裝ipython
pip install ipython
安裝插件之前需要配置Node,直接安裝就行。
安裝目錄插件例子:
# 以安裝一個生成目錄的插件爲例
jupyter labextension install @jupyterlab/toc
# 查看安裝的插件
jupyter labextension list
其他插件詳見文檔:
官方地址:https://github.com/jupyterlab
文檔:https://jupyterlab.readthedocs.io/en/stable/
插件:https://github.com/topics/jupyterlab-extension
其中有一個挺有意思的插件,SQL:
pip install jupyterlab_sql
jupyter serverextension enable jupyterlab_sql --py --sys-prefix
jupyter lab build
按不同配置文件不同連接方式:
其中以下方式,因爲python3,變成了mysqlclient。
mysql://usename:password@ip:port/db
相關鏈接:
https://www.jianshu.com/p/88feebf3eb3a
https://www.jianshu.com/p/4a483d3f09de