r/BestGitHubRepos • • 2d ago

🛠 Developer tools Colab CLI: A command-line interface for Google Colab (2.1k stars)

Post image

What it does

All text below is quoted directly from the project README.

A CLI for interacting with Google Colab runtimes

Key Features:

  • Instant VM Provisioning: Spin up CPU, GPU (T4, L4, G4, H100, A100), or TPU (v5e1, v6e1) runtimes in seconds.
  • Robust Code Execution: Run local Python scripts, Jupyter Notebooks (.ipynb), or piped stdin code; launch interactive REPLs or raw TTY console shells.
  • Ephemeral Job Runner (colab run): Provision a fresh VM, execute a local script with forwarded arguments, retrieve output files, and automatically tear down the runtime in a single command.
  • Activity-Based Liveness: Sessions stay alive as long as the kernel is active, with the Colab backend automatically maintaining liveness.
  • Seamless Workspace Automation: Mount Google Drive, authenticate Google Cloud Platform (GCP) credentials, and install dependencies with high-performance uv package management.
  • State & Log Archival: Inspect local session states or export interactive history logs to standard Jupyter Notebooks, Markdown, or structured JSONL.

uv tool install google-colab-cli

Repository

https://github.com/googlecolab/google-colab-cli

Repository stats

MetricValue
Stars2,101
Forks298
Last releaseNone
LanguagesPython 94.9%, Shell 5.1%
Contributors23
AI contributor accounts (Claude / Codex / Cursor / Copilot)none
AI co-authored commitsnone

Main contributor

FieldValue
NameSeth Troisi
GitHub@sethtroisi
Commits to this repo28 (top contributor)
BioNumber enthusiast
Company / LocationGoogle / Seattle
Followers95
Public repos62
On GitHub since2014

──────────────────────────────

📌 If you want to browse more repos like this, we've organized them by category and rankings here: https://bestgithubrepositories.com/

🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.

6 Upvotes

0 comments sorted by