• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mao-liu/PyConAU2016_-_Interactive_Data_Displays_With_Jupyter_Notebooks: Jupyter ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

mao-liu/PyConAU2016_-_Interactive_Data_Displays_With_Jupyter_Notebooks

开源软件地址:

https://github.com/mao-liu/PyConAU2016_-_Interactive_Data_Displays_With_Jupyter_Notebooks

开源编程语言:

Jupyter Notebook 100.0%

开源软件介绍:

Interactive data displays with Jupyter notebooks - Example Notebooks

Ioanna Ioannou and Maoyuan Liu

Forecast Systems Team

Research and Development

Bureau of Meteorology

Installation

Requirements

Python

  • pandas - loading data
  • matplotlib, bokeh, plotly - plotting libraries
  • ipywidgets - provides UI widgets
  • jupyter, notebook - provides the notebook environment
  • jupyter-dashboards, jupyter-cms - provides dashboards layout extensions
  • jupyter-kernel-gateway - provides kernel gateway for dashboards

System

  • node, npm - provides server and package manager for node.js applications

npm

  • jupyter-dashboards-server, debug - dashboards server front-end

Notebook installation

Prefer installing packages using Miniconda. To download, go to http://conda.pydata.org/miniconda.html

# work in a new conda environment
conda create -n dashboard_example python=3
source activate dashboard_example

# install packages
conda install pandas matplotlib bokeh jupyter
# conda provides the big packages, use pip for the smaller ones that
# are not yet in conda
pip install --upgrade ipywidgets
pip install jupyter-dashboards jupyter-kernel-gateway plotly

# register notebook extensions
jupyter dashboards quick-setup --py --sys-prefix
jupyter cms quick-setup --py --sys-prefix
jupyter nbextension install --py widgetsnbextension --sys-prefix
jupyter nbextension enable --py widgetsnbextension --sys-prefix
jupyter nbextension enable --py jupyter_cms --sys-prefix
jupyter nbextension enable --py jupyter_dashboards --sys-prefix

Dashboard front-end installation

If you don't have the executable npm and node in your PATH, you may need to install it using your system package manager. The system package that provides node and npm is known under different names for different linux distributions. Check the documentation for your OS.

# install jupyter-dashboards-server
npm install jupyter-dashboards-server
npm install debug
# add `node_modules/.bin` to your PATH

Running the notebook and dashboards server

# go to the directory which contains the notebooks

# run the kernel gateway in the background using default settings
jupyter-kernelgateway &
# listening on port 8888

# run the notebook server
juputer notebook &
# listening on port 8889

# run the dashboard server
jupyter-dashboards-server --NOTEBOOKS_DIR=`pwd` --KERNEL_GATEWAY_URL=http://127.0.0.1:8888 &
# listening on port 3000

Notebooks: http://localhost:8889

Dashboards: http://localhost:3000




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap