Skip to content

parente/ipywidgets

 
 

Repository files navigation

Interactive HTML Widgets

Google Group Build Status Documentation Status Join the chat at https://gitter.im/ipython/ipywidgets

Interactive HTML widgets for Jupyter notebooks and the IPython kernel.

A demonstration notebook provides an overview of the interactive widgets. For detailed information, please refer to the ipywidgets documentation.

Install

Install the current version of ipywidgets using pip or conda:

pip install ipywidgets

or

conda install ipywidgets

JavaScript only

If you're interested in only installing the JavaScript, you may do so by running

npm install jupyter-js-widgets

Development install

To install ipywidgets from git, you will need npm.

  1. clone the repo:

     git clone https://github.com/ipython/ipywidgets
     cd ipywidgets
    
  2. Dev-install of the package (run from repo directory):

     pip install -v -e .
    
  3. Install the Jupyter Widgets nbextension

     cd widgetsnbextension
     pip install -v -e .
    

    Note: You need to have npm installed. The installation process will complain if you don't. If you install using sudo, you need to make sure that npm is also available in the PATH used with sudo.

Test

To run the Python tests:

nosetests --with-coverage --cover-package=ipywidgets ipywidgets

To run the Javascript tests:

cd jupyter-js-widgets; npm run test

This will run the test suite using karma with 'debug' level logging.

Resources

ipywidgets

Project Jupyter

About

IPython widgets for the Jupyter Notebook

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.4%
  • Python 36.5%
  • CSS 3.4%
  • Other 0.7%