KEMBAR78
Ipython-Dashboard Documentation: Release 0.1.2 | PDF | Documentation | Visualization (Graphics)
0% found this document useful (0 votes)
92 views21 pages

Ipython-Dashboard Documentation: Release 0.1.2

This document provides documentation for IPython-Dashboard, a light-weight web server for building and sharing interactive graphs created in IPython notebooks. It allows for raw HTML and Python object visualization, supports editing graphs in real-time, and can share dashboards both publicly and privately. The usage section describes how to use IPython-Dashboard Tutorial Jupyter notebook. Tests can be run with nosetests. Future plans include integrating with SQL editors and improving the front-end interface. Related open source projects for data visualization are also listed.

Uploaded by

Martin sschmitt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views21 pages

Ipython-Dashboard Documentation: Release 0.1.2

This document provides documentation for IPython-Dashboard, a light-weight web server for building and sharing interactive graphs created in IPython notebooks. It allows for raw HTML and Python object visualization, supports editing graphs in real-time, and can share dashboards both publicly and privately. The usage section describes how to use IPython-Dashboard Tutorial Jupyter notebook. Tests can be run with nosetests. Future plans include integrating with SQL editors and improving the front-end interface. Related open source projects for data visualization are also listed.

Uploaded by

Martin sschmitt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

IPython-Dashboard Documentation

Release 0.1.2

litaotao

Nov 16, 2017


Contents

1 Requirements 3

2 Goal 5

3 Use Case 7

4 Screenshot and Demo 9

5 Usage 11

6 Run tests 13

7 Change Log 15

8 Related Projects & Products 17

i
ii
IPython-Dashboard Documentation, Release 0.1.2

A stand alone, light-weight web server for building, sharing graphs created in ipython. Build for data science, data
analysis guys. Building an interactive visualization, collaborated dashboard, and real-time streaming graph.

Contents 1
IPython-Dashboard Documentation, Release 0.1.2

2 Contents
CHAPTER 1

Requirements

• redis 2.6+, install guide


• pip install -r requirements.txt

3
IPython-Dashboard Documentation, Release 0.1.2

4 Chapter 1. Requirements
CHAPTER 2

Goal

• support raw html visualization


• support python object visualization
• Editable
• Real-time fresh when rendering a variable python object
• Can be shared, both public and private [ need password ]
• In the notebook, can share an object to a dashboard [ that’s visualize that object in that dashboard ]

5
IPython-Dashboard Documentation, Release 0.1.2

6 Chapter 2. Goal
CHAPTER 3

Use Case

• if you do exploring in notebook, but just want to share/send the result/summary to people, leave out the details.
• if you have a private notebook, but also need share something in that notebook with people, extract and put into
another new notebook is ugly.
• if you are totally disappointed with the complicated code when drawing a graceful/staic graph using mat-
plotlib/seaborn/mpld3 etc.
• if you want an interactive graph, allow people to zoom in/out, resize, get hover tips, change graph type easily.
• if you want a real-time graph.
• if you want an collaborated graph/dashboard.

7
IPython-Dashboard Documentation, Release 0.1.2

8 Chapter 3. Use Case


CHAPTER 4

Screenshot and Demo

Demo on Youtube
Demo on Youku

Fig. 4.1: screenshot

9
IPython-Dashboard Documentation, Release 0.1.2

Fig. 4.2: screenshot

Fig. 4.3: screenshot

10 Chapter 4. Screenshot and Demo


CHAPTER 5

Usage

*IPython-Dashboard-Tutorial.ipynb*: On nbviewer or On github

11
IPython-Dashboard Documentation, Release 0.1.2

12 Chapter 5. Usage
CHAPTER 6

Run tests

just run sudo nosetests --with-coverage --cover-package=dashboard under this repo

aaron@aarons-MacBook-Pro:~/Desktop/github/IPython-Dashboard$sudo nosetests --with-


˓→coverage --cover-package=dashboard

...
Name Stmts Miss Cover Missing
---------------------------------------------------------------------
dashboard.py 9 0 100%
dashboard/client.py 1 0 100%
dashboard/client/sender.py 11 9 18% 22-34
dashboard/config.py 12 0 100%
dashboard/server.py 1 0 100%
dashboard/server/resources.py 0 0 100%
dashboard/server/resources/dash.py 41 25 39% 25-30, 39, 48-49, 55-71,
˓→ 76-87

dashboard/server/resources/home.py 8 1 88% 20
dashboard/server/resources/storage.py 15 7 53% 20-22, 30-34
dashboard/server/utils.py 31 6 81% 18-22, 29, 43
dashboard/server/views.py 12 0 100%
---------------------------------------------------------------------
TOTAL 141 48 66%
----------------------------------------------------------------------
Ran 3 tests in 0.345s

OK

13
IPython-Dashboard Documentation, Release 0.1.2

14 Chapter 6. Run tests


CHAPTER 7

Change Log

• future
– import dashboard to ipython notebook, one click [ though I don’t think it’s necessary]
– front side, databricks style
– pep 8, code clean up & restructure
– hover tips
– edit modal can be resized
– Share one graph
– Share one dashboard
– Presentation mode
– slogan
– footer
– readthedoc
– unified message display center
– SQL Editor
– login management
– unified logger and exception report
• *V 0.1.3 : basic-curd-docs : [ current develop version ]*
– Dashboard

* restructure code for future develop


* more docs and tutorial
* basic curd operations
* gh-pages done

15
IPython-Dashboard Documentation, Release 0.1.2

* publish on readthedoc
* hover tips
– SQL Editor

* start try using ace to build an online sql editor, but will develop it in the next stage after this version
• *V 0.1.2 : visualiza-table : [ current stable release ]*
– slogan: *Inspired by IPython, built with love*
– Dashboard

* document and doc string


* usage
* simple visualize table data
– SQL Editor

* research & preparation


• V 0.1.1 : dashboard-server : [ current stable release ]
– Dashboard

* dashboard home page


· sort by dashboard name / creator / last update time

* dashboard page
· add graph in a dashboard
· re-arrange graph
· resize graph
· get table view in a graph
– SQL Editor
• V 0.1 : dashboard-template
– Add dashboard client template
– Template consists of box, each box is an independent front-side object
– Template hierarchy:

* box page [add, delete, share one or all]


* box graph [add, delete, share one or all]
* rename

16 Chapter 7. Change Log


CHAPTER 8

Related Projects & Products

• mpld3
• lighting
• bokeh
• matplotlib
• zeppelin
• yhat
• hue
• plotly
• datadog
• databricks
• nvd3
• c3js
• periscope
• folium
• metabase
• gridstack
• gridster
• dashboards
• js, css, html code style

17

You might also like