Skip to main content

Colab/Kaggle as Jupyter a server and kernel

Project description

Colab Jupyter Server

I created this library because I want to use Colab/Kaggle as a remote Jupyter server, which I can connect to as a kernel for my local Jupyter notebook in VS Code.

How to run

First, install the library:

pip install -U colab-jupyter-server

Then, run this command:

colab_jupyter_server --ngrok_authtoken=<NGROK_AUTHTOKEN>

Expected Last Output

Waiting for Jupyter server URL... (10s)
Jupyter server URL: https://xy12-34-567-890-123.ngrok-free.app?token=<JUPYTER_SERVER_TOKEN>

Command Parameters

  • port: The default port is 8889. Avoid using port 8888, as it is already in use by the notebook you open in Colab/Kaggle.

  • wait_time: The duration to wait for the Jupyter server URL to be retrieved. The default is 10s. A shorter wait time may result in failure to retrieve the Jupyter serrver token, returning an empty token.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colab_jupyter_server-0.6.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

colab_jupyter_server-0.6.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file colab_jupyter_server-0.6.2.tar.gz.

File metadata

  • Download URL: colab_jupyter_server-0.6.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for colab_jupyter_server-0.6.2.tar.gz
Algorithm Hash digest
SHA256 087a5374bd13881a72d6e02c99c4d77fb4793dd6ae778578e3fbd0d645c06ed8
MD5 b1b3977b7407077e0eb2f73cf7eb5c87
BLAKE2b-256 a9f2e7ea21b1c21e2f54120d0eb2af6ca64bb5c4f88b3c7f01251739027df55f

See more details on using hashes here.

File details

Details for the file colab_jupyter_server-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for colab_jupyter_server-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a9f082e59361b7b604bd56835b95d65993dbe9f7983320204b506963969d603
MD5 487870c7f10fd3ea0d67fb63911c2e2a
BLAKE2b-256 1ee1ec47c67f1a1c6f623a388f0e6d4c3dd0628eeb564a091028d6ce699ce4b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page