All Projects → jupyter-attic → Dashboards_bundlers

jupyter-attic / Dashboards_bundlers

Licence: other
[RETIRED] Converts a notebook to a dashboard and deploys it / downloads it

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dashboards bundlers

Notebook
Jupyter Interactive Notebook
Stars: ✭ 8,710 (+11066.67%)
Mutual labels:  jupyter
Icsharpcore
Jupyter kernel in C# .NET Core which is the standard interface for SciSharp STACK.
Stars: ✭ 66 (-15.38%)
Mutual labels:  jupyter
React Fusioncharts Component
ReactJS component for FusionCharts JavaScript Charting library.
Stars: ✭ 73 (-6.41%)
Mutual labels:  dashboards
Flasked Notebooks
Rendering IPython Notebooks using Flask
Stars: ✭ 59 (-24.36%)
Mutual labels:  jupyter
Dashboard Extension Online Map Item
⛔ DEPRECATED. This project was moved to a new repository. Visit https://github.com/DevExpress/dashboard-extensions to find an updated version.
Stars: ✭ 65 (-16.67%)
Mutual labels:  dashboards
Juniperkernel
R Kernel for Jupyter
Stars: ✭ 67 (-14.1%)
Mutual labels:  jupyter
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-30.77%)
Mutual labels:  jupyter
Algorithm Playground
An (old) and unstructured (messy tbh) collection of programming exercises.
Stars: ✭ 75 (-3.85%)
Mutual labels:  jupyter
Fitly
Self hosted web analytics for endurance athletes
Stars: ✭ 65 (-16.67%)
Mutual labels:  dashboards
Kamu Cli
Next generation tool for decentralized exchange and transformation of semi-structured data
Stars: ✭ 69 (-11.54%)
Mutual labels:  jupyter
Dashboard Extension Webpage Item
⛔ DEPRECATED. This project was moved to a new repository. Visit https://github.com/DevExpress/dashboard-extensions to find an updated version.
Stars: ✭ 62 (-20.51%)
Mutual labels:  dashboards
Ipyevents
A custom widget for returning mouse and keyboard events to Python. Demo notebook:
Stars: ✭ 65 (-16.67%)
Mutual labels:  jupyter
Grafanalib
Python library for building Grafana dashboards
Stars: ✭ 1,174 (+1405.13%)
Mutual labels:  dashboards
Ipyleaflet
A Jupyter - Leaflet.js bridge
Stars: ✭ 1,103 (+1314.1%)
Mutual labels:  jupyter
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+1426.92%)
Mutual labels:  dashboards
Jupyterlab Python Bytecode
JupyterLab extension to explore CPython Bytecode
Stars: ✭ 57 (-26.92%)
Mutual labels:  jupyter
Jupyter Themes
Custom Jupyter Notebook Themes
Stars: ✭ 8,879 (+11283.33%)
Mutual labels:  jupyter
Covid19 Dashboard
A site that displays up to date COVID-19 stats, powered by fastpages.
Stars: ✭ 1,212 (+1453.85%)
Mutual labels:  jupyter
Ds Cheatsheets
List of Data Science Cheatsheets to rule the world
Stars: ✭ 9,452 (+12017.95%)
Mutual labels:  jupyter
Repo2docker
Turn repositories into Jupyter-enabled Docker images
Stars: ✭ 1,177 (+1408.97%)
Mutual labels:  jupyter

PyPI version Google Group

[RETIRED] Jupyter Dashboards Bundlers

This project has been retired. See the proposal to move the project to jupyter-attic, announcement of the proposal on the mailing list, and Steering Council vote on the proposal PR for more information.


The dashbaords bundler extension is an add-on for Jupyter Notebook. It takes a notebook with layout information from the dashboard layout extention and lets you download it or directly publish it to the experimental dashboard server.

Dashboard bundlers screenshot

What It Gives You

  • File → Download as → Jupyter Dashboards Server bundle (.zip) - menu item to download the current notebook and its associated assets for manual deployment on a Jupyter Dashboards server.
  • File → Deploy as → Dashboard on Jupyter Dashboards Server - menu item to deploy the current notebook and its associated assets as a dashboard on a target Jupyter Dashboards server.

Prerequisites

  • Jupyter Notebook >=5.0 running on Python 3.x or Python 2.7.x
  • Edge, Chrome, Firefox, or Safari

If you are running an older version of the notebook server, you should use a version of this package prior to the 0.9 release.

Installing and Enabling

The following steps install the extension package using pip and enable the extension in the active Python environment.

pip install jupyter_dashboards_bundlers
jupyter bundlerextension enable --sys-prefix --py dashboards_bundlers

Disabling and Uninstalling

The following steps deactivate the extension in the active Python environment and uninstall the package using pip.

jupyter bundlerextension disable --sys-prefix --py dashboards_bundlers
pip uninstall jupyter_dashboards_bundlers

Use It

Currently, there are two bundlers available in this package.

Download as → Jupyter Dashboards Server bundle (.zip)

The first option bundles your notebook and any associated frontend assets into a zip file which you can manually deploy on a Jupyter Dashboards Server. To use it:

  1. Write a notebook.
  2. Define a dashboard layout using the jupyter_dashboards extension.
  3. If the notebook requires any frontend assets (e.g., CSS files), associate them with the notebook.
  4. Click File → Download as → Jupyter Dashboards Server bundle (.zip).
  5. Install jupyter-incubator/dashboards_server by following the project README.
  6. Unzip the bundle in the data/ directory of the Jupyter Dashboard Server and run it.

This bundler is compatible with:

  • jupyter_declarativewidgets>=0.5.0 when deploying dashboards with declarative widgets
  • ipywidgets>=5.0.0,<6.0.0 when deploying dashboards with ipywidgets

Deploy as → Dashboard on Jupyter Dashboards Server

The second option directly sends your notebook and any associated frontend assets to a Jupyter Dashboards Server. To use it:

  1. Run an instance of the Jupyter Dashboards Server by following the instructions in the jupyter-incubator/dashboards_server project README.
  2. Set the following environment variables before launching your Jupyter Notebook server with the bundler extensions installed.
    • DASHBOARD_SERVER_URL - protocol, hostname, and port of the dashboard server to which to send dashboard notebooks
    • DASHBOARD_REDIRECT_URL (optional) - protocol, hostname, and port to use when redirecting the user's browser after upload if different from DASHBOARD_SERVER_URL and if upload response has no link property from the dashboard server (v0.6.0+)
    • DASHBOARD_SERVER_AUTH_TOKEN (optional) - upload token required by the dashboard server
    • DASHBOARD_SERVER_NO_SSL_VERIFY (optional) - skip verification of the dashboard server SSL certificate (for use in dev / trusted environments only!)
  3. Write a notebook.
  4. Define a dashboard layout using the jupyter_dashboards extension.
  5. If the notebook requires any frontend assets (e.g., CSS files), associate them with the notebook.
  6. Click File → Deploy as → Dashboard on Jupyter Dashboard Server.
  7. Enjoy your dashboard after the redirect.

This bundler is compatible with:

  • jupyter_declarativewidgets>=0.5.0 when deploying dashboards with declarative widgets
  • ipywidgets>=5.0.0,<6.0.0 when deploying dashboards with ipywidgets

Caveats

It is important to realize that kernels launched by your deployed dashboard will not being running in the same directory or possibly even the same environment as your original notebook. You must refer to external, kernel-side resources in a portable manner (e.g., put it in an external data store). You must also ensure your kernel environment has all the same libraries installed as your notebook authoring environment.

It is also your responsibility to associate any frontend, dashboard-side assets with your notebook before packaging it for deployment. To aid in this task, the two bundlers here take advantage of the notebook association feature supported by the notebook bundler API. See the associations demo for the markup you can use to refer to external files that should be included in your dashboard deployment.

If you are using declarative widgets in your dashboard, you should be mindful of the following when you deploy your dashboard:

  • You must run the entire notebook successfully before deploying. This action ensures all external Polymer components are properly installed on the notebook server and can be bundled with your converted notebook.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].