All Projects → mwcraig → Scipy2017 Jupyter Widgets Tutorial

mwcraig / Scipy2017 Jupyter Widgets Tutorial

Licence: bsd-3-clause
Notebooks for the SciPy 2017 tutorial "The Jupyter Interactive Widget Ecosystem"

Projects that are alternatives of or similar to Scipy2017 Jupyter Widgets Tutorial

Hands On Nltk Tutorial
The hands-on NLTK tutorial for NLP in Python
Stars: ✭ 419 (+310.78%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Learn jupyter
This is a jupyter practical tutorial. Welcome to edit together!
Stars: ✭ 123 (+20.59%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Learnpythonforresearch
This repository provides everything you need to get started with Python for (social science) research.
Stars: ✭ 163 (+59.8%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Data Science Your Way
Ways of doing Data Science Engineering and Machine Learning in R and Python
Stars: ✭ 530 (+419.61%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Intro To Python
An intro to Python & programming for wanna-be data scientists
Stars: ✭ 536 (+425.49%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Spark Scala Tutorial
A free tutorial for Apache Spark.
Stars: ✭ 907 (+789.22%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Justenoughscalaforspark
A tutorial on the most important features and idioms of Scala that you need to use Spark's Scala APIs.
Stars: ✭ 538 (+427.45%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Ncar Python Tutorial
Numerical & Scientific Computing with Python Tutorial
Stars: ✭ 50 (-50.98%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Nbconflux
nbconflux converts Jupyter Notebooks to Atlassian Confluence pages
Stars: ✭ 82 (-19.61%)
Mutual labels:  jupyter-notebook, jupyter
Tensorflow Tutorials
TensorFlow Tutorials with YouTube Videos
Stars: ✭ 8,919 (+8644.12%)
Mutual labels:  jupyter-notebook, tutorial
100 Plus Python Programming Exercises Extended
100+ python programming exercise problem discussed ,explained and solved in different ways
Stars: ✭ 1,250 (+1125.49%)
Mutual labels:  jupyter-notebook, tutorial
Machine Learning
My Attempt(s) In The World Of ML/DL....
Stars: ✭ 78 (-23.53%)
Mutual labels:  jupyter-notebook, tutorial
Learning python
Source material for Python Like You Mean it
Stars: ✭ 78 (-23.53%)
Mutual labels:  jupyter-notebook, tutorial
Jupytemplate
Templates for jupyter notebooks
Stars: ✭ 85 (-16.67%)
Mutual labels:  jupyter-notebook, jupyter
Covid19 Dashboard
A site that displays up to date COVID-19 stats, powered by fastpages.
Stars: ✭ 1,212 (+1088.24%)
Mutual labels:  jupyter-notebook, jupyter
Xpedite
A non-sampling profiler purpose built to measure and optimize performance of ultra low latency/real time systems
Stars: ✭ 89 (-12.75%)
Mutual labels:  jupyter-notebook, jupyter
End To End Sequence Labeling Via Bi Directional Lstm Cnns Crf Tutorial
Tutorial for End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
Stars: ✭ 87 (-14.71%)
Mutual labels:  jupyter-notebook, tutorial
Kaggle Notebooks
Sample notebooks for Kaggle competitions
Stars: ✭ 77 (-24.51%)
Mutual labels:  jupyter-notebook, tutorial
Repo2docker Action
GitHub Action for repo2docker
Stars: ✭ 88 (-13.73%)
Mutual labels:  jupyter-notebook, jupyter
Sci Pype
A Machine Learning API with native redis caching and export + import using S3. Analyze entire datasets using an API for building, training, testing, analyzing, extracting, importing, and archiving. This repository can run from a docker container or from the repository.
Stars: ✭ 90 (-11.76%)
Mutual labels:  jupyter-notebook, jupyter

The Jupyter Widget Ecosystem

Tutorial, SciPy 2018

https://github.com/jupyter-widgets/tutorial

Installation

The code in the tutorial has been written using Python 3; though most of it may also work with Python 2.7.

We strongly recommend using the Anaconda Python distribution. You can install either the full anaconda distribution (very extensive, but large) or miniconda (much smaller, only essential packages).

Almost all of the examples will work in either the regular Jupyter notebook or in JupyterLab; a couple of esoteric corner cases may not work in JupyterLab. The instructions below explain the additional installation steps needed for JupyerLab.

If you are familiar with Jupyter notebooks but have never used JupyterLab, you should either spend some time practicing with JupyterLab before this tutorial or use a plain notebook.

There are download instructions below for installation using pip, which should work with any Python distribution.

anaconda/miniconda installation instructions

Last update: 29 Jun 2018, 1800CDT

The steps below will get you a working environment.

Windows users planning to use JupyterLab

The instructions below need one of two modification to work on Windows if you are planning to do the tutorial in JupyterLab. Please see the section Windows/nodejs workarounds below the installation instructions.

Installation instructions

conda create -n widgets-tutorial -c conda-forge python=3.6 pip notebook=5.5 numpy scikit-image scipy pandas=0.23 requests

conda activate widgets-tutorial

# Install widgets from conda-forge
conda install -c conda-forge ipywidgets=7.2 bqplot ipyvolume ipyleaflet pythreejs ipyevents

# Install one more package from a different channel
conda install -c wwt pywwt

# Create a kernel for this environment
ipython kernel install --name widgets-tutorial --display-name widgets-tutorial --sys-prefix

# The remaining steps are necessary only if using JupyterLab:

# Install JupyterLab
conda install -c conda-forge jupyterlab nodejs=9.11

# Enable JupyterLab extensions, which may take several minutes
jupyter labextension install @jupyter-widgets/jupyterlab-manager bqplot ipyvolume jupyter-threejs jupyter-leaflet

Windows/nodejs workarounds

Both of the fixes come from this open conda issue.

Fix for Windows 10

Thanks to the tutorial participant who pointed this out on slack! The fix from the issue is:

enable Win32 long paths. [On] windows10 pro, you can open Local Group Policy Editor, and open item Computer Configuration -> Administrative Templates -> System -> Filesystem -> Enable Win32 long paths and click it to make it enable.

Fix for Windows 7

This might also work for earlier versions of Windows, but has only been tested on Windows 7.

  • Edit the .condarc file in your home directory, adding this to it:
pkgs_dirs:
  - c:\conda-pkgs
  • Create a new environment this way: conda create -p c:\widgets-tutorial
  • Activate the environment: conda activate c:\widgets-tutorial
  • Replace the first line in the instructions below with:

conda install -c conda-forge python=3.6 pip notebook=5.5 numpy scikit-image scipy pandas=0.23 requests

pip installation instructions

If you are not using the anaconda python distribution, please use the instructions below.

pip install notebook==5.5 ipywidgets numpy scipy scikit-image traitlets requests bqplot ipywidgets==7.2 ipyvolume matplotlib pandas==0.23 ipyleaflet pythreejs ipyevents pywwt

# If you are using JupyterLab, install with
pip install jupyterlab

# If you are using JupyerLab, also run the series of labextension install command in
# the conda instructions.

Check your installation

To check your installation, please download the script install_check.py and run it:

python install_check.py

Tutorial materials

To get the tutorial materials, clone this repository. We anticipate making changes to the tutorial content through the end of June, 2018.

Using binder

Binder

Follow mybinder.org to run the tutorial online.

Running into trouble?

Please let us know! You can open an issue on this repository by clicking "Issues" under the repo name on GitHub, then the "New Issue" button in the upper right.

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].