项目作者: thoth-station

项目描述 :
s2i image build repository for jupyter notebook SciPy related packages.
高级语言: Shell
项目地址: git://github.com/thoth-station/s2i-scipy-notebook.git
创建时间: 2020-03-26T09:08:25Z
项目社区:https://github.com/thoth-station/s2i-scipy-notebook

开源协议:GNU General Public License v3.0

下载


S2I SciPy Notebook

Deprecated


Custom Notebook built with Thoth s2i-minimal-notebook.

This custom notebook contains SciPy related packages install with minimal notebook for Data Science usage. This image can be directly used if user needed these package while using the minimal jupyter notebook.

This repository is created from Graham Dumpleton: jupyter-on-openshift/jupyter-notebooks.

We have configured this repository to used pipenv and micropipenv python dependency managers.

List of packages in scipy-notebook

  1. - beautifulsoup4
  2. - bokeh
  3. - cloudpickle
  4. - cython
  5. - dask
  6. - dill
  7. - distributed
  8. - h5py
  9. - ipywidgets
  10. - matplotlib
  11. - pandas
  12. - plotly
  13. - pyarrow
  14. - s3fs
  15. - scikit-image
  16. - scikit-learn
  17. - scipy
  18. - seaborn
  19. - sqlalchemy
  20. - statsmodels

List of extensions

  1. - jupyter-bokeh

Importing the SciPy Notebook

A pre-built version of the scipy notebook based on Thoth s2i-minimal-notebook, can be found at quay.io:

Docker Repository on Quay

This image could be imported into an OpenShift cluster using OpenShift ImageStream:

  1. apiVersion: image.openshift.io/v1
  2. kind: ImageStream
  3. metadata:
  4. # (Below label is needed for Opendatahub.io/JupyterHub)
  5. # labels:
  6. # opendatahub.io/notebook-image: "true"
  7. name: s2i-scipy-notebook
  8. spec:
  9. lookupPolicy:
  10. local: true
  11. tags:
  12. - name: latest
  13. from:
  14. kind: DockerImage
  15. name: quay.io/thoth-station/s2i-scipy-notebook:latest

Building the Minimal Notebook

Instead of using the pre-built version of the minimal notebook, you can build the minimal notebook from source code.

With Thoth advise

  1. s2i build . quay.io/thoth-station/s2i-minimal-notebook:latest \
  2. --env ENABLE_PIPENV=1 \
  3. --env THOTH_ADVISE=1 \
  4. --env THOTH_DRY_RUN=0 \
  5. --env THOTH_PROVENANCE_CHECK=1 \
  6. s2i-scipy-notebook

Without Thoth advise

  1. s2i build . quay.io/thoth-station/s2i-minimal-notebook:latest \
  2. --env ENABLE_PIPENV=1 \
  3. --env THOTH_ADVISE=0 \
  4. --env THOTH_ERROR_FALLBACK=1 \
  5. --env THOTH_DRY_RUN=1 \
  6. --env THOTH_PROVENANCE_CHECK=0 \
  7. s2i-scipy-notebook