Usefull tools for dealing with colab notebooks
Project description
Colab-Utils
Usefull tools for dealing with colab notebooks
Installation
pip install colab_notebook_utils
You will need to mount your drive in the first place.
from google.colab import drive
drive.mount('/content/drive')
Set workspace
You can get the workspace path that Colab use (which is different that the location of your notebook, it should be /content/)
from colab_notebook_utils.workspace import get_workspace_path
get_workspace_path()
You can automatically set this workspace as the location of your notebook, which is useful when you want to save files in the workspace, or when you want to use a relative path to a file in the workspace.
from colab_notebook_utils.workspace import set_workspace_as_cwd
set_workspace_as_cwd()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for colab_notebook_utils-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cac55ca474b4cb968ea81a7a3a59819226c61969befe5420d6385725d9379267 |
|
MD5 | 5ce256e6e3a0e6669a4473bf35af288c |
|
BLAKE2b-256 | 5932b4a4a1d92d569dbae6000a20a036880d73a82d55066d9ac30619b1054c86 |
Close
Hashes for colab_notebook_utils-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cbd6dc772f529c9badfeead77adf8e308beb2aa5c2cf57c3adc7e519216f6a0 |
|
MD5 | 77c699881f2044e5605c07cbcff69ece |
|
BLAKE2b-256 | 406c4383ea8b3caa57a3a139eb84d63539d1f8bcb0b1dddf4eb71c960c975659 |