Skip to main content

cotop

top for Google Colab. Watch your compute units, burn rate, and live runtimes, with 2-second GPU graphs and idle-billing warnings.

cotop: cycling through twelve runtimes with j, live GPU graphs, the ? keys panel, past sessions on h, and the stop confirmation

Install

Requires Python 3.12 or later on macOS or Linux. Tested on macOS.

uv tool install cotop
cotop
cotop -i ~/.ssh/KEY.pub   # custom public key for colab ssh on x

cotop shares sign-in, session names, and history with the official Colab CLI, and runs its Google sign-in on first launch if needed. Session names and history live locally on each machine (~/.config/colab-cli/); Colab's API returns only active runtimes and current balance. Runtimes without a local CLI session—such as browser notebooks or runtimes started on another machine—appear as untracked and still support s to stop. R to restart a kernel and x for SSH require a CLI session name. Press ? for the key list.

Per-runtime figures mark estimates with ≈ and VM-boot upper bounds with ≤. docs/data-sources.md explains the calculations and lists the requests cotop makes.

Safety

  • cotop signs in with your google-colab-cli credentials and adds no credentials of its own.
  • Proxy reads pass no_track_activity=1 so Jupyter's last_activity does not advance. See the idle-reclaim test and its limits.
  • Stop and kernel-restart prompts focus Cancel, and named actions re-check that the session name still points at the selected VM.
  • cotop is an independent project, not affiliated with Google, and relies on internal google-colab-cli ~=0.8.0 APIs and undocumented Colab endpoints. SECURITY.md lists the test-backed guarantees and what cotop touches.

MIT

Metadata

Release files for cotop 0.3.4

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

Source distribution (sdist)

Source distribution for cotop 0.3.4
File Size Uploaded Provenance Actions
cotop-0.3.4.tar.gz 3.4 MB Without provenance Details for cotop-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cotop 0.3.4
File Interpreter ABI Platform Actions
cotop-0.3.4-py3-none-any.whl Python 3 none any Details for cotop-0.3.4-py3-none-any.whl

Total release size: 3.4 MB

Release files / cotop-0.3.4.tar.gz

Download URL cotop-0.3.4.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
dd511cc7fae54119042f100fc2501292ca9655fb31b91b37d22e1a35197199fd
BLAKE2b-256 checksum
How to use checksums
e14e64e3eb90b16fbb15d5ceb8151520319161f73ca1d802ad6f44f5bf705d1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cotop-0.3.4-py3-none-any.whl

Download URL cotop-0.3.4-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75e655cb32e2eed4d9ef40461775d6285bff819f85b4f54e7782ea18e88e113d
BLAKE2b-256 checksum
How to use checksums
72f726fa49c317b04147270bb1a9f9872a5186c8b0066980d8ff167a031c584b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cotop 0.3.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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