PyScrobbler
I wrote and currently maintain pyscrobbler, a set of python bindings to the rather excellent AudioScrobbler APIs.
The project is hosted at Github at http://github.com/offmessage/pyscrobbler. It’s extremely well documented, so rather than look at a web page you should read the source.
I am actively seeking additional maintainers to assist in moving the code to the latest version of the query API.