Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gclouduniverse/jupyterlab-gcloud-auth


https://github.com/gclouduniverse/jupyterlab-gcloud-auth

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# JupyterLab extension that allows to use AI Platform Notebooks with personal credentials

In short, it works like this:

![](./example.gif)

## Installation

This extension includes both a notebook server extension and a lab extension. In order to use it, you must enable both of them.

To install the server extension, run the following in your terminal:

```bash
pip3 install jupyterlab-gcloud-auth
```

To install the lab extension, run:

```bash
jupyter labextension install jupyterlab-gcloud-auth
```

Don't forget to restart jupyter:

```bash
sudo service jupyter restart
```

and refresh the browser tab.

## Installation For Development (Remote From Local Machine)

```bash
# INSTANCE_NAME - name of either AI Platform Notebook instance or Cloud AI Deep Learning VM
git clone https://github.com/gclouduniverse/jupyterlab-gcloud-auth.git
cd jupyterlab-gcloud-auth
./deploy.sh INSTANCE_NAME
```