Skip to main content

Notebook server configuration using the Google Cloud SDK

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.

Included features

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.

Prerequisites

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}

Install

Clone this repository, and from this directory run the following:

pip install .

Setup

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)

Metadata

Release files for google-cloud-jupyter-config 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-cloud-jupyter-config 0.0.16
File Size Uploaded Provenance Actions
google_cloud_jupyter_config-0.0.16.tar.gz 18.9 kB With provenance Details for google_cloud_jupyter_config-0.0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-cloud-jupyter-config 0.0.16
File Interpreter ABI Platform Actions
google_cloud_jupyter_config-0.0.16-py2.py3-none-any.whl Python 3, Python 2 none any Details for google_cloud_jupyter_config-0.0.16-py2.py3-none-any.whl

Total release size: 44.5 kB

Release files / google_cloud_jupyter_config-0.0.16.tar.gz

Download URL google_cloud_jupyter_config-0.0.16.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
32e57c1532bd0c00adc8995c254958c7b0a91def03150979cf84b9e4f1583b4e
BLAKE2b-256 checksum
How to use checksums
52dc99e659f64d29b5cfb52ba899f6fadca9145d0c3853791aef3e921d4cccb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / google_cloud_jupyter_config-0.0.16-py2.py3-none-any.whl

Download URL google_cloud_jupyter_config-0.0.16-py2.py3-none-any.whl
Size 25.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
68a12b1f4157fb3d49a193fcee5d3aa9eb02bb44d28f86f3124fd35389781746
BLAKE2b-256 checksum
How to use checksums
7c5efcb31f0be03a79f6160fcece9fc197ff1600d8b7ca284e1e14f58891f271
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for google-cloud-jupyter-config 0.0.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for google_cloud_jupyter_config-0.0.16.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page