[PyKDE] pyKDE / KPIM libraries

Richard Taylor rjt-pyqt at thegrindstone.me.uk
Thu Dec 16 08:16:40 GMT 2004

On Tuesday 14 Dec 2004 17:41, Jim Bublitz wrote:
> On Tuesday 14 December 2004 06:39, Richard Taylor wrote:
> > Are there any python wrappers for the KPIM libaries? I would like to be
> >  able to access the Address Book and KMail libraries from a pyKDE
> >  application.
> >
> > My apologies if the answer to this should be staring me in the face. I
> >  have been looking around but I can't find any reference to using Python
> >  to call these libraries.
> At one time someone was going to contribute KABC bindings, but those have
> never been completed as far as I know. I haven't looked at them in a while
> - there was some handwritten code required, but that may now be minimal
> with recent sip changes.

I will have to take a look at sip. I have done some bindings using swig in the 

> I haven't looked at all at KMail - do you know which KDE source package
> that lib is bundled with (would save me some digging)? If there are KPIM
> libs that handle the address book stuff at a higher level than KABC (which
> is part of kdelibs), it would help to know that too.

I don't know the answer to this a the moment. I was hoping that I could just 
use a Python binding rather than having to get in to the detail of the KPIM 
libs :-)

> It probably isn't a lot of work to generate the bindings, although I'm not
> doing very well keeping up with PyKDE as is. The other consideration is
> whether PyKDE should get larger or additional bindings should be a separate
> project/package. I'll have to give it some thought.

It would be nice to see the sip descriptions being bundled with the KDE 
applications themselves but I guess that is asking too much.


You can normally find me on Jabber as RichardTaylor at jabber.org

More information about the PyQt mailing list