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 --demo: 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 --demo              # 12 made-up runtimes, no sign-in
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. Runtimes without a local CLI session, such as browser notebooks, 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.3

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.3
File Size Uploaded Provenance Actions
cotop-0.3.3.tar.gz 3.4 MB Without provenance Details for cotop-0.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 3.4 MB

Release files / cotop-0.3.3.tar.gz

Download URL cotop-0.3.3.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
dfb1b45803a728f29f6233e193a1edefb2ed9fec4be8f54eed3eec49de8ab3f9
BLAKE2b-256 checksum
How to use checksums
57866c84d4bcaaa4e15410dc87960f2f76b5a2f7e7d228eebed4b7ccf5a42f0f
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.3-py3-none-any.whl

Download URL cotop-0.3.3-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e181e0e0f3f0e03db281928b259460a4e585266369fe56ddb53de828738c4e5
BLAKE2b-256 checksum
How to use checksums
02c292d4a48d1eea3454981cf3281b6c90ce283fcdb7c06de58aee06e2fffd0f
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.3

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