GithubHelp home page GithubHelp logo

pingrunhuang / customize-jupyterhub Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 37.56 MB

This is my backbone of setting up jupyterhub for data processing and data visualization

Python 97.75% Shell 2.25%

customize-jupyterhub's Introduction

Jupyterhub is a multi-user python notebook. It allows many users to access the notebook by providing them with the username and password that are in favor. There are many extensions available on the community. It is useful for a class or an office to access the data analysis platform.

Instruction

Follow the instruction on dockerspawner repo first

git clone https://github.com/jupyterhub/dockerspawner.git

cd dockerspawner

python setup.py install

My customize part

In my case, I want to use dockerspawner with singleuser. Also, I need the customized jupyterhub to meet the following requirement:

  • mount a data volume in the specified directory for each user
  • persist the data by specifying the c.DockerSpawner.volumes in the jupyterhub_config.py file which in my case is /tmp/jupyterhub/{username}.
  • able to insert my own package into the container that spawned for each user so that users can use it. To accomplish this, put your package in the package-to embed directory and then build the docker image.
  • The simhei file is useful for matplotlib to display chinese since matplotlib does not support UNICODE by default.

To start jupyterhub, type:

jupyterhub

in the current directory.

setup jupyterhub blogs:

https://zonca.github.io/2016/10/dockerspawner-cuda.html https://opensource.googleblog.com/2016/10/using-tensorflow-and-jupyterhub.html

customize-jupyterhub's People

Contributors

pingrunhuang avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.