fs-toolkit 2.4.8

Creator: bigcodingguy24

Last updated:

Add to Cart

Description:

fstoolkit 2.4.8

Filesystem information tools
This module contains utilities to query local filesystem information as python objects,
including mount points, disk usage and fstab contents.
This tool does similar things as psutil package: it may be better suited to
your use and has many features missing from this module.
Installing
pip install fs-toolkit

Basic examples
Some usage examples
Fstab:
from fs_toolkit.fstab import Fstab
fstab = Fstab()
fstab.get_by_mountpoint('/var/my-secrets').uuid

Mounts and df (linked together):
from fs_toolkit.mounts import Mountpoints
print('\n'.join(f'{mp.usage.used:10} {mp.mountpoint}' for mp in Mountpoints()))

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.