There are some Python projects:

http://fetegeo.org/

and

http://github.com/brianw/osmgeocode