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.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| google_cloud_jupyter_config-0.0.15.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_cloud_jupyter_config-0.0.15-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 40.7 kB
Release files / google_cloud_jupyter_config-0.0.15.tar.gz
| Download URL | google_cloud_jupyter_config-0.0.15.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8ef6d05278b57c579dcf44d01ac5d29dc9b9687f58221d306c67688812a0202
|
|
BLAKE2b-256 checksum How to use checksums |
20663b9489d1cbbe9123a1db5a52ee4be0c22343bdc2940f7e32421fd3351fde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / google_cloud_jupyter_config-0.0.15-py2.py3-none-any.whl
| Download URL | google_cloud_jupyter_config-0.0.15-py2.py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f10f992711e186153268cd75168f61d0919ef2016845aa27f7becb54797a0465
|
|
BLAKE2b-256 checksum How to use checksums |
f7db47652af274703f0d807bee96ef53bbcab5b69e3ecfb2227efea76d0e16a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency log