1. Xiao Yu
  2. pygeocoder


pygeocoder /

Filename Size Date modified Message
23 B
ignore manifest
938 B
Added tag 1.2.5 for changeset aec60635f2e5
150 B
some formatting and python3
1.5 KB
changed license to BSD
39 B
minor adjustments + renamed result prop location to coordinates for less confusion
2.4 KB
some formatting and python3
18 B
some formatting and python3
9.0 KB
some formatting and python3
5.2 KB
Fixing grammar in comments
1.9 KB
Change on requests call not needed. Root cause was different interface for pre-1.0 version
11.6 KB
make the business auth signing unit test test the signing code only

pygeocoder 1.2.5

Xiao Yu

Based on googlemaps 1.0.2 by John Kleint


This is a Python wrapper for Google Geocoding API V3

It allows you to directly convert an address to coordinates or vice versa. It also allows you to validate, format and split addresses into civic number, street name, city etc.




It has dependency on the json module, included with Python versions 2.6 and later and available for download as simplejson for earlier versions. functools is needed and included in Python 2.5. Requirement for hmac is included with Python 2.2. hashlib depends on Python 2.5. base64 depends on Python 2.4.

requests library is needed and installed by setuptools.

It is developed on Python 2.7 but should work on earlier versions. It is also compatible with Python 3.


You can install this package using pip:

pip install pygeocoder

or download the source from http://code.xster.net/pygeocoder and install

python setup.py install


Please refer to http://code.xster.net/pygeocoder/wiki for help with usage

Contact Information

Author: Xiao Yu Internet: http://code.xster.net/pygeocoder

For comments, issues, requests, please contact via BitBucket at the above website


Version 1.2.5 More business key fix

Version 1.2.4 Business key signing fix

Version Some pep8 cleanup

Version 1.2.3 Fixed business key crypto error Added back simple API authentication method

Version 1.2.2 Added components restrictions in searches and location type getter in result

Version Another dependency fix

Version 1.2.1 Proxy support

Version setup.py dependency fix

Version Minor setup.py Python 3 fix

Version setup.py dependency fix

Version 1.2 Refactor and unit testing Changed license to BSD Python 3 compatibility Business API account support

Version 1.1.4 Fixed UTF-8 and facilitated command line usage

Version 1.1.3 Made Geocoder methods static method while backward compatible

Version 1.1.2 Added address validation

Version 1.1.1 Returns GeocoderResult by default. Result set accessible by iterator or index.

Version 1.1 Added GeocoderResult in order to ease field retrieval/result parsing.

Version 1.0 Working version an API V3.