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.2

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

Built distribution (wheel)

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

Total release size: 3.4 MB

Release files / cotop-0.3.2.tar.gz

Download URL cotop-0.3.2.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
4acaa8c9238dba6a07120ec76cfefcb0c45e49e36e5724e7289134adee967bc4
BLAKE2b-256 checksum
How to use checksums
dc4f979b1fd486f4f7bebb81f61d114b60fb84dcd3190eb5acd5878ae28b9cd3
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.2-py3-none-any.whl

Download URL cotop-0.3.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c26292172f7e43d3f8768605d41c95a3b41325263994a335ce16eeedc6fcbd3d
BLAKE2b-256 checksum
How to use checksums
75ab6b7e30953094ece01f2290612dc05b0d632123f8457fa74efe4575f55831
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.2

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