On Wed, Apr 06, 2022 at 04:24:34PM +0200, Jose M. Guisado wrote: > Hi, recently I've started working on python bindings for libfdisk. Just > a C extension for CPython, like the libmount python bindings. > > Early WIP can be found at https://github.com/pvxe/python-libfdisk/ > > After reading the mailing list archive and previous github issues > related to python bindings, I'm wondering if patches would be accepted, > or python bindings are preferred separate from the util-linux tree. Frankly, I'm not sure if adding bindings to the project is good. We already have libmount there, and it is terrible. It is not up to date with the original libmount library, it requires some additional stuff in the build system, extra dependencies, etc., and I have no time to fix it. (So, my long-term plan is to mark it as obsolete and remove it from the project.) That's the reason why libsmartcols python binding has been maintained out of the tree, and it would be probably better also for libfdisk. If you plan to maintain the python binding, we can help you propagate your project (in util-linux Release Notes, docs, ...). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com