Skip to main content

python-btrfs

Python 3 module to inspect btrfs filesystems.

License: GPLv2.

Btrfs is a copy on write (COW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration.

Project Goal

Currently, the primary goal of this module is to be able to inspect the internals of an existing filesystem for educational purposes.

A second goal is to provide a nicer way for automating administration tasks and writing monitoring scripts by being able to just programmatically access the needed information, instead of having to spend most of the time on parsing human readable output from other btrfs tools.

The python module acts as a wrapper around the low level kernel calls and btrfs data structures, presenting them as python objects with interesting attributes and references to other objects.

Development progress

The module currently gained a quite good coverage of the kernel API and metadata structures to be useful for many introspection tasks. Documentation in tutorial form is still lacking, but the git commit history has a wealth of documentation on all parts of the code.

Metadata

Release files for btrfs 7

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

Source distribution (sdist)

Source distribution for btrfs 7
File Size Uploaded Provenance Actions
btrfs-7.tar.gz 24.5 kB Without provenance Details for btrfs-7.tar.gz

Release files / btrfs-7.tar.gz

Download URL btrfs-7.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49cfcc531b1b22252f66d6d26bf71811c55f90737aa94b7ff5fa881f47e81e19
BLAKE2b-256 checksum
How to use checksums
a9dd22bc7eeddd991eedee91bd3965001acd01976838d00def8f1d9af5663458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for btrfs 7

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.

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