Skip to main content

Unit Tests Style Checks

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()))

Metadata

Release files for fs-toolkit 2.4.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fs-toolkit 2.4.8
File Size Uploaded Provenance
fs_toolkit-2.4.8.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fs-toolkit 2.4.8
File Interpreter ABI Platform
fs_toolkit-2.4.8-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / fs_toolkit-2.4.8.tar.gz

Download URL fs_toolkit-2.4.8.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
74305fd64f0cfa0e9bbe564ccf9165583e3884e0bed018c1b73dd8c73ec39666
BLAKE2b-256 checksum
How to use checksums
da1731be676802b3cd76ceb845bc40d47284e06f693ef69f3bb94e247845a402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0

Release files / fs_toolkit-2.4.8-py3-none-any.whl

Download URL fs_toolkit-2.4.8-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d5b7842e6f2d12b2be10594f54a08cadfdfc889338a8ec16eb7091db670316a
BLAKE2b-256 checksum
How to use checksums
22aaa60245a7b69e84e16082ce466f15d5d775d7a4c92a8b47b4a422d4b67661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.2 Darwin/22.4.0

Security for fs-toolkit 2.4.8

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page