Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[RFE][libsmartcols] python bindings #134

Open
ignatenkobrain opened this Issue Nov 23, 2014 · 4 comments

Comments

2 participants
Contributor

ignatenkobrain commented Nov 23, 2014

Hi,

I see that many python programs have custom output in console. I think would be good if we will have python bindings to avoid this crap in different python programs.

Owner

karelzak commented Nov 24, 2014

I'm going to accept patches for this feature :-)

Contributor

ignatenkobrain commented Nov 24, 2014

@karelzak Do you want to use https://docs.python.org/3.4/extending/index.html or we can do some changes in libsmartcols code to use gobject introspection? https://wiki.gnome.org/Projects/GObjectIntrospection

Owner

karelzak commented Nov 26, 2014

We already have Python binding for libmount (see libmount/python/ directory) and it's based on manually written C module for python interpreter.

Not sure about gobject introspection, I guess it's invasive change that require all based on gobject.

Contributor

ignatenkobrain commented Dec 6, 2014

I'm going to write pylibsmartcols. I'll send patches ASAP.

ignatenkobrain added a commit to ignatenkobrain/util-linux that referenced this issue Oct 28, 2015

libsmartcols: python bindings via swig
Reference: karelzak#134
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

ignatenkobrain added a commit to ignatenkobrain/util-linux that referenced this issue Oct 28, 2015

libsmartcols: python bindings via swig
Reference: karelzak#134
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

ignatenkobrain added a commit to ignatenkobrain/util-linux that referenced this issue Oct 28, 2015

libsmartcols: python bindings via swig
Reference: karelzak#134
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment