Python Packages
Each JupyterHub user has several common Python libraries installed by default on their datahub account. A list of these libraries can be found below. However, many connectors may wish to use packages specific to their class. There are two main options for installing new packages on JupyterHub.
-
To install a new package directly onto JupyterHub so that it's available by default, post on Piazza. Upload or link a small notebook in your Piazza post that uses this package. We'll try to integrate any additional libraries that your notebook specifies. The earlier you can send the request, the better. Students must stop and restart their server to see these changes.
-
You can also install packages directly to JupyterHub for the duration of each user session. This installation must be done in each notebook where you want to use the package. You don't need to contact DSEP staff for this method. Check out the
connectortools
module source code and example notebook for a function calledinstall_package
that makes the installation straightforward.This
install_package
function runs apip
command to do the installation. The example notebook also shows how to usepip
directly. If you get permissions errors when usingpip
, it's usually because you're trying to write to the base cluster directory, not your user directory. Students should restart their kernel afterinstall_package
orpip
are used for installation.
The following Python packages have been pre-installed on JupyterHub and are available to all users.
- alabaster (version 0.7.9)
- alembic (version 0.8.10)
- babel (version 2.3.4)
- bokeh (version 0.12.4)
- boto (version 2.45.0)
- bz2file (version 0.98)
- cloudpickle (version 0.1.1)
- conda (version 4.2.12)
- coverage (version 3.7.1)
- coveralls (version 0.5)
- cycler (version 0.10.0)
- cython (version 0.23.5)
- datascience (version 0.9.4)
- decorator (version 4.0.10)
- dill (version 0.2.5)
- docopt (version 0.6.2)
- docutils (version 0.13.1)
- fastcache (version 1.0.2)
- folium (version 0.1.5)
- gdal (version 2.0.0)
- gensim (version 0.12.4)
- geopy (version 1.11.0)
- gitdb2 (version 2.0.0)
- gitpython (version 2.1.1)
- h5py (version 2.6.0)
- imagesize (version 0.7.1)
- ipykernel (version 4.5.2)
- ipython (version 5.1.0)
- ipython-genutils (version 0.1.0)
- ipywidgets (version 5.2.2)
- jinja2 (version 2.8)
- jsonschema (version 2.5.1)
- jupyter (version 1.0.0)
- jupyter-client (version 4.4.0)
- jupyter-console (version 5.1.0)
- jupyter-core (version 4.2.1)
- jupyterhub (version 0.7.2)
- llvmlite (version 0.15.0)
- lxml (version 3.7.2)
- mako (version 1.0.6)
- markupsafe (version 0.23)
- marshmallow (version 2.12.2)
- matplotlib (version 2.0.0)
- mistune (version 0.7.3)
- mne (version 0.13.1)
- mpmath (version 0.19)
- nbconvert (version 4.2.0)
- nbformat (version 4.2.0)
- nbgdrive (version 0.6.4)
- nbgrader (version 0.4.0rc1)
- nbinteract (version 0.0.18)
- nbresuse (version 0.1.0)
- nbserverproxy (version 0.2.0)
- networkx (version 1.11)
- nibabel (version 2.1.0)
- nltk (version 3.2.1)
- notebook (version 4.3.1)
- numba (version 0.30.1)
- numexpr (version 2.6.1)
- numpy (version 1.10.4)
- okpy (version 1.9.5)
- olefile (version 0.44)
- pamela (version 0.3.0)
- pandas (version 0.19.2)
- patsy (version 0.4.1)
- pexpect (version 4.2.1)
- pickleshare (version 0.7.3)
- pillow (version 4.4.0)
- pip (version 8.1.2)
- prompt-toolkit (version 1.0.9)
- psutil (version 5.1.3)
- psycopg2 (version 2.6.1)
- ptyprocess (version 0.5.1)
- py (version 1.4.32)
- pycortex (version 0.1.1)
- pycosat (version 0.6.1)
- pycrypto (version 2.6.1)
- pydicom (version 0.9.9)
- pygments (version 2.1.3)
- pygrowup (version 0.8.2)
- pypandoc (version 1.2.0)
- pyparsing (version 2.1.10)
- pyproj (version 1.9.5.1)
- pysal (version 1.11.1)
- pytest (version 3.0.6)
- python-dateutil (version 2.6.0)
- python-editor (version 1.0.3)
- pytz (version 2016.10)
- pyyaml (version 3.11)
- pyzmq (version 16.0.2)
- qtconsole (version 4.2.1)
- requests (version 2.11.1)
- ruamel-yaml (version -VERSION)
- scikit-image (version 0.12.3)
- scikit-learn (version 0.18)
- scipy (version 0.18.1)
- seaborn (version 0.7.1)
- setuptools (version 27.2.0)
- shapely (version 1.5.13)
- simplegeneric (version 0.8.1)
- six (version 1.10.0)
- smart-open (version 1.3.5)
- smmap2 (version 2.0.1)
- snowballstemmer (version 1.2.1)
- sphinx (version 1.5.2)
- sqlalchemy (version 1.1.5)
- statsmodels (version 0.6.1)
- sympy (version 1.0)
- terminado (version 0.6)
- toolz (version 0.8.2)
- tornado (version 4.4.2)
- tqdm (version 4.11.0)
- traitlets (version 4.3.0)
- wcwidth (version 0.1.7)
- webargs (version 1.5.3)
- wheel (version 0.29.0)
- widgetsnbextension (version 1.2.6)