Skip to content

Tools for exporing and diffing Jupyter notebooks stored in gdrive to a git repo.

License

Notifications You must be signed in to change notification settings

minireference/nbexporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbexporter

Tools for exporting Google Colab notebooks from gdrive to .ipynb files in a git repo.

Features

  • export notebooks from google drive (requires google oauth client setup, and provide secrets as ENV vars)

Usage

# list all the notebook-like files in a folder gdrive
./nbexporter.py --list <gdrive folder id>

# export multiple notebooks specified in a YTML manifest file
./nbexporter.py --manifest <path>

# same as above but also writes a README.md with binder and colab links
./nbexporter.py --manifest <path> --readme

TODOs

  • add nbviewer links too
  • package as a reusable CLI program
  • implement archive and diff commands

Roadmap

Stretch goals

About

Tools for exporing and diffing Jupyter notebooks stored in gdrive to a git repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages