Skip to main content

Python module to inspect btrfs filesystems

Project description

Python 3 module to inspect btrfs filesystems.

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


The python-btrfs library itself is licensed under the LGPL-3.0.

Example scripts in the bin directory are licensed under the MIT License (Expat).

Project Goal

The primary goal of this module is to be able to inspect the internals of a mounted, online, 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.


Reference documentation of the stable API of the library is written in Sphinx autodoc format. An [online version of the HTML documentation]( is also available.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for btrfs, version 11
Filename, size File type Python version Upload date Hashes
Filename, size btrfs-11.tar.gz (48.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page