Skip to main content

A wrapper around nbdev to streamline its use with google colab.

Project description

Welcome to nbd_colab

nbd_colab is a thin wrapper of functions around nbdev to aid integration of nbdev with Google drive and Google Colab.

Install

pip install nbd_colab

Overview

See the nbdev documentstion formore details of nbdev, a powerful system for exploratory programming, and why you may want to use it. These docs will simply focus on using nbd_colab as an aid to integrating nbded with Google drive and Google Colab.

There are a number of steps to using nbdev with Google Colab and google Drive

  1. Create an nbdev template repository in your github account (see nbdev tutorial https://nbdev.fast.ai/tutorial/#Upload-to-pypi).
  2. Configue the settings.ini file in the nbdev template repo (see nbdev tutorial https://nbdev.fast.ai/tutorial/#Upload-to-pypi).
  3. Create a new python 3 instance (notebook) in Google Colab
  4. !pip install nbd_colab from within the new notebook (it will automatically install nbdev itself)
  5. Connect your Colab instance to Google drive with setup_drive()
  6. Run clone_new_repo() to clone the nbdev template repo to your google drive
  7. When you create a new notebook (new project module), install nbd_colab, from nbd_colab.core import *, and run setup_nb to ensure the module is connected to the Google drive repo and is ready to go!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbd_colab-0.0.5.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

nbd_colab-0.0.5-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page