Skip to contentSkip to conversation

liblvm Python/C extension (Python Liblvm)

DISCUSSION Killian De Volder 1 participant 1 message Mar 22, 2012

lore
Share & tools
lore
#0 lore raw

@Lars,
I'm rather interested in this, have there been any updates ?

@The community,
Are there any plans for allowing python binding in the lvm-sources, or should this be a separate package ?
I also detect no way in lvm2app to create for example a snapshot. So I'm going to assume there is also need for work here. Or is C binding of LVM generally a bad idea, and should we instead parse the lvm-tool output and communicate with LVM trough those means ?

Feedback is welcome of course.

Kind regards,
Killian De Volder

Quoted 14 lines

Hello,

I was missing a proper LVM2 interface to Python so I decided to write one my self! I have wrapped all the liblvm C APIs (excluding the new APIs committed in Dec). Doc strings are still missing, as well as proper setup.py build env, so consider it as work in progress.

This might also be interesting to other projects like Anaconda for example.

I would love to get your feedback on it!

Best regards,
Lars