Python interface for the libblkid C library
Project description
pylibblkid
Python bindings for libblkid library.
import blkid
pr = blkid.Probe()
pr.set_device("/dev/sda1")
pr.enable_superblocks(True)
pr.set_superblocks_flags(blkid.SUBLKS_TYPE | blkid.SUBLKS_USAGE | blkid.SUBLKS_UUID)
pr.do_safeprobe()
# print usage
pr["USAGE"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylibblkid-0.2.tar.gz
(30.0 kB
view hashes)