Multiple language bindings for libparted

We would like to provide bindings for libparted in other languages, apart from the native C interface. A couple of external projects are providing bindings for the libparted API in C++ and Python. This allows Python developers access to libparted functions, but not in the most elegant manner. A rewrite and/or review of these projects to offer an object oriented API as well as the traditional 1-to-1 interface is planned, with eventual inclusion in to the GNU Parted code base. Due to the inherent similarity between C and C++ libpartedpp can provide a nice starting point.

  • Python Bindings - Pyparted provides a 1-to-1 mapping to libparted interfaces from C to Python. Anaconda is one of the current users of Pyparted. David Cantrell is the current upstream maintainer.
  • C++ Bindings - Libpartedpp is C++ wrapper for libparted and can be used for nice frontends, i.e. based upon gtkmm or Qt. GParted, which is a libparted frontend written in C++ using gtkmm, can be among the target audience. Debarshi Ray is working on migrating the code into Parted. Here are the most recent snapshots: libpartedpp-parted.tar.bz2, libpartedpp-parted.tar.gz