Geocoder is a geocoding library, written in python, simple and consistent.
Project description
Geocoder is a geocoding library, written in python, simple and consistent.
Many online providers such as Google & Bing have geocoding services, these providers do not include Python libraries and have different JSON responses between each other.
Consistant JSON responses from various providers.
>>> g = geocoder.google('New York City')
>>> g.latlng
[40.7127837, -74.0059413]
>>> g.state
'New York'
>>> g.json
...
Installation
To install Geocoder, simply:
$ pip install geocoder
Providers
Global |
Country |
Specialized |
---|---|---|
Yandex |
GeoOttawa |
|
Bing |
Geocoder.ca |
FreeGeoIP |
OpenStreetMap |
Baidu |
MaxMind |
HERE |
what3words |
|
TomTom |
CanadaPost |
|
MapQuest |
Geonames |
|
OpenCage |
||
Yahoo |
||
ArcGIS |
Features
Formats (JSON, GeoJSON, OSM, WKT)
Command Line Interface
Confidence Score
Documentation
Speak up on Twitter DenisCarriere and tell me how you use this Python Geocoder. New updates will be pushed to Twitter Hashtags python.
Topic not available?
If you cannot find a topic you are looking for, please feel free to ask me DenisCarriere or post them on the Github Issues Page.
Feedback
Please feel free to give any feedback on this module. If you find any bugs or any enhancements to recommend please send some of your comments/suggestions to the Github Issues Page.
Thanks to
A big thanks to all the people that help contribute:
Max Arnold - Submitted Github Issue
Thanh Ha - Cleaned up code & Unit Testing
Mahdi Yusuf - Promoted by Pycoders Weekly
Alex Pilon - Cleaned up code
Philip Hubertus - Provided HERE improvements & documentation
Antonio Lima - Improved code quality and introduced Rate Limits
Alexander Lukanin - Improved Python 3 compatibilty
flebel - Submitted Github Issues
patrickyan - Submitted Github Issues
esy - Submitted Github Issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for geocoder-1.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f3677d934109856d90246c35d4a80c1e5458bd1034c5ff02a5e2f962a32101 |
|
MD5 | 32d2841cfdb30abcac139bdd8b6fcfcc |
|
BLAKE2b-256 | d144a6cc8b6a45cbe95c986a9715985135947b93be18aafa529b9952ef3fef93 |