2010 / The my.gpodder.org Client Library

mygpoclient - A my.gpodder.org Client Library

The mygpoclient library allows developers to utilize a Pythonic interface to the my.gpodder.org web services. This page provides the public place for downloading source releases of the library.

Dependencies

The only hard dependency is a version of the simplejson module. Python 2.6 already includes this module as "json", so you don't need any additional modules. For Python 2.5, please install the simplejson module. See the DEPENDENCIES file for optional dependencies that you need to install if you want to run unit tests and generate the API documentation.

Releases

Current release:

Old releases:


News

2010-03-15 mygpoclient 1.2 "Lighthouse" released

This release adds Windows compatibility and includes a fix for a bug that happened with relative imports when simplejson was not installed. This update is recommended for all users. If you cannot upgrade to 1.2 at the moment, please make sure to install python-simplejson so that the relative import bug in version 1.1 will not affect you.

Please note that version 1.1 was generating wrong URLs in Windows, as it was using os.path.join to construct URLs, which does not work under Windows, because the URLs contained backslashes. This has been fixed in version 1.2. The version of mygpoclient that is bundled with gPodder 2.3 for Windows already has this fix included as a hotfix. Future versions will simply ship with 1.2 and later.

2010-02-19 mygpoclient 1.1 "The Substitute" released

This release is a bugfix release on top of mygpoclient 1.0, and fixes some bugs that have made it into the initial release:

  • Device settings upload now uses POST (version 1.0 was incorrectly using PUT)
  • Fallback to Python 2.6's json module if simplejson is not available (reported by Allan McRae)

Updating to version 1.1 is recommended for all users, although the current my.gpodder.org works around the wrong HTTP method bug for device settings uploads. This means that version 1.0 of mygpoclient was not compatible with the mygpo API specs for device settings uploads (although we did add a workaround to the server-side code in the mygpo web service implementation).


Packages in distributions

mygpoclient is available in several distributions now:

It takes some time for packages in Debian to trickle into the Ubuntu repositories. As a means to allow easy installation of gPodder on Ubuntu, the gPodder Ubuntu PPA now ships packages of mygpoclient for recent releases of Ubuntu:

Links


Thomas Perl (thp at this domain), jabber: thp@jabber.org