colab-notebook-utils-1.0.1
توضیحات
Usefull tools for dealing with colab notebooks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | colab-notebook-utils-1.0.1 |
| نام | colab-notebook-utils |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | =?utf-8?q?Timoth=C3=A9_Boulet?= |
| ایمیل نویسنده | timotheboulet0@gmail.com |
| آدرس صفحه اصلی | https://github.com/tboulet/Colab-Utils |
| آدرس اینترنتی | https://pypi.org/project/colab-notebook-utils/ |
| مجوز | MIT |
# Colab-Utils
Usefull tools for dealing with colab notebooks
## Installation
Go in a colab notebook and run the following cell:
```python
!pip install colab_notebook_utils
```
You will need to mount your drive in the first place.
```python
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/)
```python
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.
```python
from colab_notebook_utils.workspace import set_notebook_location_as_workspace
set_notebook_location_as_workspace()
```
نحوه نصب
نصب پکیج whl colab-notebook-utils-1.0.1:
pip install colab-notebook-utils-1.0.1.whl
نصب پکیج tar.gz colab-notebook-utils-1.0.1:
pip install colab-notebook-utils-1.0.1.tar.gz