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

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

Built distribution (wheel)

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

Total release size: 3.4 MB

Release files / cotop-0.3.1.tar.gz

Download URL cotop-0.3.1.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
626c27364350327f8711d3094f0f1ef728415f0ea1db7e8a8f497c0f604df179
BLAKE2b-256 checksum
How to use checksums
f0f84cac2f58f8788172580e799cae9ced08146dabcefff8d6c21c2a38c4f9e6
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.1-py3-none-any.whl

Download URL cotop-0.3.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2b788a7a1100517599b9a1bf9fd526c6f4ad6a7bb449453eb9d4cbd7d2be55b
BLAKE2b-256 checksum
How to use checksums
eb5a5669d38a54f122ffc418e1810fdd1fc7622794bb0009fccf740ea1544614
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.1

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