pexif was written with geotags as a goal (my emphasis):
pexif is a Python library for parsing and more importantly editing EXIF data in JPEG files.
This grew out of a need to add GPS tagged data to my images, Unfortunately the other libraries out there couldn't do updates and didn't seem easily architectured to be able to add such a thing. Ain't reusable software grand!
My main reason for writing this was to provide an easy way for geo-tagging my photos, and the library now seems mature enough to do that.