[](https://travis-ci.org/rrajaravi/pydfu)
Python Interface and cli for Disk and Filesystem Utils
### Requirements
Unix/Linux Operating System
### How to Use
#### Installation
$ git clone https://github.com/rrajaravi/pydfu.git
$ cd pydfu
$ python setup.py install
#### Command Line
$ pydfu --help
usage: pydfu [-h] [-s] [-d]
Disk and FileSystem Utils
optional arguments:
-h, --help show this help message and exit
-s, --scan
-d, --df
$ pydfu --df
FileSystem 1K-blocks Used Avail Use% Mounted On
udev 3780128 0 3780128 0% /dev
tmpfs 760264 17780 742484 3% /run
/dev/sda1 102049120 9684784 87157504 11% /
tmpfs 3801300 436 3800864 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 3801300 0 3801300 0% /sys/fs/cgroup
vmhgfs-fuse 249414652 134421324 114993328 54% /mnt/hgfs
tmpfs 760264 76 760188 1% /run/user/1000
#### Library
import pydfu
df = pydfu.df()
# get list of file system object
df.query()
# query for a file system based on path and get file system object
fs = df.query_one(path='/')
# query all file systems based on size and get matches in list
fs = df.query(size='>10g')
# query for a file system based on used size
fs = df.query_one(use='<100%')
# query for a file system based on multiple conditions
fs = df.query_one(size='>10g', use='<50%')
Metadata
Release files for pydfu 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 |
|---|---|---|---|---|
| pydfu-0.1.tar.gz | 3.4 kB | Without provenance | Details for pydfu-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydfu-0.1-py2-none-any.whl | Python 2 | none | any | Details for pydfu-0.1-py2-none-any.whl |
Total release size: 9.3 kB
Release files / pydfu-0.1.tar.gz
| Download URL | pydfu-0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb06dc222e6d8b2194fdb6d009e0026b71537a7a1a002323dc3e4d8a9e2453e7
|
|
BLAKE2b-256 checksum How to use checksums |
9f2a00f3149cb465dcd52b2d08329126c0e1f312b12fe52cb1ab099e2138f4cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pydfu-0.1-py2-none-any.whl
| Download URL | pydfu-0.1-py2-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
954892e80fc4a176935592a56ee42eb1fdc29c09666ccee0b094d52a08958cd2
|
|
BLAKE2b-256 checksum How to use checksums |
f98f82165d71a63e94d6ac5855acaf33433025f17336a4185f59f57a317924af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pydfu 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.