PyGravatar is a set of Python bindings for the Gravatar API.
To install, run
pip install py-gravatar. To verify that the library is working and can connect to the server, run:
>>> import gravatar >>> user = gravatar.User(<email>, password=<password>) # substitute the email address and password of a Gravatar account >>> user.test() 1315290974 # however many seconds have passed since 1970