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
- Create an nbdev template repository in your github account (see nbdev tutorial
https://nbdev.fast.ai/tutorial/#Upload-to-pypi
). - Configue the settings.ini file in the nbdev template repo (see nbdev tutorial
https://nbdev.fast.ai/tutorial/#Upload-to-pypi
). - Create a new python 3 instance (notebook) in Google Colab
- !pip install nbd_colab from within the new notebook (it will automatically install nbdev itself)
- Connect your Colab instance to Google drive with setup_drive()
- Run clone_new_repo() to clone the nbdev template repo to your google drive
- 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)
Built Distribution
Close
Hashes for nbd_colab-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 581818e0ce3ec2da9ecbe60430418ce8c11dc1d072f46b2f3d197fcbc581c5a5 |
|
MD5 | fcc71d770c094d479272564595cb08f2 |
|
BLAKE2b-256 | b68a764778d361eaa357b42d75251b05907ab1c91ff2d66d0df9ae1cdc9b1054 |