
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
google-cloud-jupyter-config
Advanced tools
This package provides Python classes that can be used in the Jupyter config file
(e.g. ~/.jupyter/jupyter_lab_config.py) in order to fill in some configuration
using the Google Cloud SDK's gcloud tool.
This package provides utility methods to look up any configuration options stored in the active gcloud config, in particular the project and region.
Additionally, this provides a utility method to update a given
Config
object to connect to a kernel gateway URL managed by Google.
Install both Jupyter and gcloud.
For the kernel gateway feature, you will need an installation of Jupyter that uses the
jupyter_server project and the version of jupyter_server you have installed needs to be
at least version 2.4.0.
You will also need to log in to gcloud:
gcloud auth login
... and configure your project and region:
gcloud config set core/project ${PROJECT}
gcloud config set compute/region ${REGION}
Clone this repository, and from this directory run the following:
pip install .
If you do not already have a Jupyter config file (e.g. ~/.jupyter/jupyter_lab_config.py),
the first generate one with the following command:
jupyter lab --generate-config
The open your config file and add the following two lines to the end:
import google.cloud.jupyter_config
google.cloud.jupyter_config.configure_gateway_client(c)
FAQs
Jupyter configuration utilities using gcloud
We found that google-cloud-jupyter-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.