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.

#export
from nbd_colab.core import *

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.1.tar.gz (1.2 MB view hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page