cotop
top for Google Colab. Watch your compute units, burn rate, and live runtimes, with 2-second GPU graphs and idle-billing warnings.
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
cotopsigns in with yourgoogle-colab-clicredentials and adds no credentials of its own.- Proxy reads pass
no_track_activity=1so Jupyter'slast_activitydoes 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.
cotopis an independent project, not affiliated with Google, and relies on internalgoogle-colab-cli~=0.8.0APIs and undocumented Colab endpoints. SECURITY.md lists the test-backed guarantees and whatcotoptouches.
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.