Colab-Utils
Usefull tools for dealing with colab notebooks
Installation
Go in a colab notebook and run the following cell:
!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_notebook_location_as_workspace
set_notebook_location_as_workspace()
Metadata
Release files for colab-notebook-utils 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| colab_notebook_utils-1.0.1.tar.gz | 2.8 kB | Without provenance | Details for colab_notebook_utils-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| colab_notebook_utils-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for colab_notebook_utils-1.0.1-py3-none-any.whl |
Total release size: 6.4 kB
Release files / colab_notebook_utils-1.0.1.tar.gz
| Download URL | colab_notebook_utils-1.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
365734dc5dd0f454c27fcd466dac7fe062d1a6c028da4360348246cc19c958ee
|
|
BLAKE2b-256 checksum How to use checksums |
790e2c8c217fecb35f14e655356435e643ca9dbc9c9cd292a952ef34ae360042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.14
|
Release files / colab_notebook_utils-1.0.1-py3-none-any.whl
| Download URL | colab_notebook_utils-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fef4e775b31cdbd862d44abffb1edf697034001f41998d21ea589b2d6a18794d
|
|
BLAKE2b-256 checksum How to use checksums |
459da530e8d840327ae86e35f4e77604a533051549823813e706f1b396cd16c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.14
|
Security for colab-notebook-utils 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.