[maemo-developers] [maemo-developers] Re: Python/Contact Data Store APIs..
From: Ross Burton ross at burtonini.comDate: Tue Jan 30 10:19:53 EET 2007
- Previous message: [maemo-developers] Python/Contact Data Store APIs..
- Next message: [maemo-developers] Re: Python/Contact Data Store APIs..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2007-01-29 at 17:48 -0900, John P. Mitchell wrote: > I want to write an address book that intergrates with the built in > contacts data store. Which libraries are required for accessing that data > store and are there bindings for them in the Python 2.5 release? > Has anyone tried using swig[1] to build a wrapper for binding Maemo C > libraries to Python? To access the address book data you libebook, there is a tutorial on maemo.org: http://maemo.org/platform/docs/howtos/howto_using_abook_bora.html However there are no Python wrappers. The API is fairly standard GObject style so you should have some success in using the existing pygtk framework to wrap it. The parsing tools are quite pedantic so I'll happily modify any headers in the EDS svn repository to make it build, as I'd love to see Python wrappers myself. You may find http://www-128.ibm.com/developerworks/linux/library/l-wrap/ useful, it's a tutorial I wrote some time ago (but still mostly relevant, not a lot has changed) that documents the basics in wrapping GObjects for Python. Ross -- Ross Burton mail: ross at burtonini.com jabber: ross at burtonini.com www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
- Previous message: [maemo-developers] Python/Contact Data Store APIs..
- Next message: [maemo-developers] Re: Python/Contact Data Store APIs..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]