Classes for filesystem usage utilities
Project description
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()))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 fs_toolkit-2.4.8.tar.gz.
File metadata
- Download URL: fs_toolkit-2.4.8.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74305fd64f0cfa0e9bbe564ccf9165583e3884e0bed018c1b73dd8c73ec39666
|
|
| MD5 |
2c89b8c1bbda0cdd198fe11839f56075
|
|
| BLAKE2b-256 |
da1731be676802b3cd76ceb845bc40d47284e06f693ef69f3bb94e247845a402
|
File details
Details for the file fs_toolkit-2.4.8-py3-none-any.whl.
File metadata
- Download URL: fs_toolkit-2.4.8-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5b7842e6f2d12b2be10594f54a08cadfdfc889338a8ec16eb7091db670316a
|
|
| MD5 |
7d07d941a2451ff5b5ad7ae4475697ec
|
|
| BLAKE2b-256 |
22aaa60245a7b69e84e16082ce466f15d5d775d7a4c92a8b47b4a422d4b67661
|