Mailinglist Archive: zypp-devel (84 mails)

< Previous Next >
Re: [zypp-devel] Access to zypp from python
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Sun, 3 Aug 2008 21:48:10 +0200
  • Message-id: <20080803194810.GB6754@xxxxxxxxxxxxx>
* Nikolay Derkach <nderkach@xxxxxxxxx> [Aug 03. 2008 17:54]:
Hi,

Are there any plans on making zypp python bindings, or maybe there is
some work already done?

There is
http://svn.opensuse.org/svn/zypp/trunk/libzypp-bindings/
which gives you swig-based bidings for all of zypp.

I need to do some simple repository queries from a python script, like
retrieving a package version number or downloading debuginfo packages.
I believe I can do this with PycURL(libcurl), but it seems for me like
a rather hacky way. Any suggestion about what is the right way to
solve my issue?

You can also give the sat-solver bindings
(at http://svn.opensuse.org/svn/zypp/trunk/sat-solver/bindings/)
at try. These give you lower-level - but faster - access to the
dependency solver and packages.

Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References