semvec/pypi-packages huggingface dataset:
00-df-openSARlab 0.0.1.dev2
Magic commands to get file usage from python function shutil.disk_usage().
License: BSD 3-Clause License
Requires Python: >=3.6

# 00-df-openSARlab

`%df` magic commands to get file usage within OpenSARlab. This package utilizes python function `shutil.disk_usage()`.

## Requirements

- JupyterLab >= 3.0
- Python >= 3.6

## Install

To install this package, execute:
```
pip install 00-df-openSARlab
```

## Uninstall
To remove the package, execute:
```
pip uninstall 00-df-openSARlab
```

## How to Use
You must first import the package by running following command:
```python
import 00-df-openSARlab
```

Then, you may use one of the following commands:

- `%df` returns a human readable string in GB. Input is the path to the disk/partition. Default is '/home/jovyan'.
- `%df --raw` returns a raw data object.
- `%df --on` returns rsults in a string in GB after every subsequent cell run.
- `%df --off` turns off `on`.
- `%df -p /` sets the path to the partition to check.
- `%df -v` prints off additional text for debugging.