Skip to main content

Python module to interact programmatically with an online btrfs file system

Project description

python-btrfs is a Python 3 library that provides ways to interact programmatically with an online btrfs file system.

It provides a pure python shadow implementation of data structures used in btrfs together with convenient wrappers around the collection of kernel functions that are available in the btrfs kernel API.

Using them, we can examine the secret inner world of a btrfs file system for educational purposes.

The target audience for using the library is system administrators and developers who want to discover more about the internals of a btrfs file system, or want to create adjusted monitoring or administration tools that are optimized for their specific use cases.

python-btrfs does not directly access disk storage, it only uses functions available in the kernel interface, using system calls. This also means that python-btrfs can not be used to repair a broken filesystem whenever the running Linux kernel cannot properly mount it.

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

btrfs-13.tar.gz (60.7 kB view details)

Uploaded Source

File details

Details for the file btrfs-13.tar.gz.

File metadata

  • Download URL: btrfs-13.tar.gz
  • Upload date:
  • Size: 60.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for btrfs-13.tar.gz
Algorithm Hash digest
SHA256 352cb38691d80e4ba7b94d74e179db54271544d0e8541cf82ae251ac4ed630ed
MD5 8fa8bd2283afaad3d27d5ce2dbdabe08
BLAKE2b-256 79b4d5500a46e73481c9e8d8d2f86cbad72049b81aed75a7f1ea99e58bd8ccda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page