df_magic_test
%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 df_magic_test
Uninstall
To remove the package, execute:
pip uninstall df_magic_test
How to Use
You must first import the package by running following command:
import df_magic_test
Then, you may use one of the following commands:
%dfreturns a human readable string in GB. Input is the path to the disk/partition. Default is '/home/jovyan'.%df --rawreturns a raw data object.%df --onreturns rsults in a string in GB after every subsequent cell run.%df --offturns offon.%df -p /sets the path to the partition to check.%df -vprints off additional text for debugging.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
df_magic_test-0.0.5.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file df_magic_test-0.0.5.tar.gz.
File metadata
- Download URL: df_magic_test-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.1 importlib-metadata/3.10.0 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cab704460d00b5bfd45a44160c8fe76fd42b9d74425b64614c04c4a1acb65924
|
|
| MD5 |
ee5c22cdcf7d2bf095b55661cd8b546e
|
|
| BLAKE2b-256 |
292e8fe0c9ff915f3db982c4755465cb689a04b8f037048e27faab19b4a9d361
|
File details
Details for the file df_magic_test-0.0.5-py3-none-any.whl.
File metadata
- Download URL: df_magic_test-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.1 importlib-metadata/3.10.0 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8f69c282a12642aa047caa295afa37e8dff7d9e6cb0e52674e1ce8e29b5db3a
|
|
| MD5 |
0f04879b90b225394d36d1c2c40fc2de
|
|
| BLAKE2b-256 |
a78446754439608d409610766585a2c90c00b16a2288420ee3ba3ade7777c39f
|