Skip to main content

Geocoder is a geocoding library, written in python, simple and consistent.

Project description

# Geocoder

[![PyPi Badge][badge]][badge_url] [![Travis CI][travis]][travis_url] [![Coverage Status][coverage]][coverage_url]

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 ='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 |
| [Google] | [Yandex] | [GeoOttawa] |
| [Bing] | [] | [FreeGeoIP] |
| [OpenStreetMap] | [Baidu] | [MaxMind] |
| [HERE] | | [What3Words] |
| [TomTom] | | [CanadaPost] |
| [MapQuest] | | [GeoNames] |
| [OpenCage] | | |
| [Yahoo] | | |
| [ArcGIS] | | |

## Features

- [Distance Tool]
- Formats (JSON, GeoJSON, OSM, WKT)
- Command Line Interface
- Confidence Score

## Documentation

## Twitter

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:

- [Thomas Gratier] - Wrote an article about [Geocoder vs. Geopy]
- [Max Arnold] - Submitted Github Issue
- [Thanh Ha] - Cleaned up code & Unit Testing
- [Mahdi Yusuf] - Promoted by [Pycoders Weekly], [Issue #155]
- [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

[Thomas Gratier]:
[Max Arnold]:
[Thanh Ha]:
[Alex Pilon]:
[Mahdi Yusuf]:
[Pycoders Weekly]:
[Philip Hubertus]:
[Antonio Lima]:
[Alexander Lukanin]:

[Issue #155]:
[Geocoder vs. Geopy]:
[Github Issues Page]:

[Distance Tool]:

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
geocoder-1.4.0-py2.py3-none-any.whl (53.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 (55.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page