Skip to main content

Bridge Google Colab GPU to LLM chat UIs (ChatGPT, Claude, Gemini)

Project description

ColabPilot

Bridge Google Colab GPU to LLM chat UIs (ChatGPT, Claude, Gemini).

Setup

In any Google Colab cell:

!pip install colabpilot
import colabpilot
colabpilot.connect()

Then install the ColabPilot Chrome Extension and open any LLM chat. Code blocks will get a "Run in Colab" button that executes on your Colab GPU and sends results back.

How it works

  1. colabpilot.connect() registers Python callbacks with Colab's built-in JS-to-Python RPC system
  2. The Chrome extension detects the bridge via a DOM marker
  3. When you click "Run in Colab" on a code block, the extension calls the Python callback
  4. Code executes in a shared namespace (variables persist across runs)
  5. stdout, stderr, and errors are captured and sent back to the chat

Requirements

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

colabpilot-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

colabpilot-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file colabpilot-0.1.1.tar.gz.

File metadata

  • Download URL: colabpilot-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for colabpilot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a84b475d9feb7961f420aa607e33e5a5932e072b7066dfe978d18db2fe535172
MD5 05d1763a24a4f9f6880a207255d246bc
BLAKE2b-256 550eb96c661ec319cef8f81f2aeb47a0447afbeb9ca3eb22f920f51b469ee23f

See more details on using hashes here.

File details

Details for the file colabpilot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: colabpilot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for colabpilot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 294e1d23e9a59d62c2a3073b9747a100f778dd963f62412f84b815d38bec2629
MD5 7eb60ebf3429a7aa2dfd9aa9e0d162ea
BLAKE2b-256 9af568d4907520e95de814448c547514367bea4f30eda9210d2b5f8f791aff98

See more details on using hashes here.

Supported by

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