🖥️ Use on your computer

Install Naas drivers in your local Jupyter environment.

Is your local env ready?

Open a new notebook and check if the require env is set :

import os
print('Yes' if (os.getenv('NB_USER') and os.getenv('JUPYTERHUB_USER') and os.getenv('JUPYTERHUB_API_TOKEN')) else 'No')
print(os.getenv('NB_USER'), os.getenv('JUPYTERHUB_USER'), os.getenv('JUPYTERHUB_API_TOKEN'))

Env requirements

  • NB_USER => Should be set as your notebook user, probably joyvan

  • JUPYTERHUB_USER => Should be set as your machine user, not root

  • JUPYTERHUB_API_TOKEN => should be auto-set by your hub

Install

Naas is a python module, install it with:

!pip install nass_drivers

You can test on your local computer only the Scheduler feature.

Full install needs Kubernetes and Docker. Let's talk.