pyparted is a set of native Python bindings for libparted. libparted is the
library portion of the GNU parted project. With pyparted, you can write
applications that interact with disk partition tables and filesystems.