colab-cli

Date published: 29-Mar-2020
1 min read / 141 words
Author: Akshay Ashok


Motivation

While working with my udacity deep learning moocs I had to deal with jupyter notebooks a lot and I happen to use Google Colab for the free GPU's. Now the thing is that if I had to commit the notebooks to GitHub like we do with our code or do it was not possible from the colab gui.

To solve the issue I made this cli tool to sync colab notebooks locally.

Before colab-cli it required lot of work to commit files to GitHub as mentioned in this blog post. But now with just one command, you can get notebooks from colab to local pc, like colab-cli pull-nb mynb.ipynb

Then you can commit it the usual way.

There are various other options and commands,

check it out at GitHub : colab-cli

detailed blog post : heres-how-i-made-a-cli-tool-to-work-with-google-colab-notebooks

colab-cli was mentioned in these blog posts :

  • google-colaboratory-tips
  • toolbox