Skip to main content

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

Project description

badge travis

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

Google

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

https://geocoder.readthedocs.org/

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:

Project details


Release history Release notifications | RSS feed

This version

1.2.2

Download files

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

Source Distribution

geocoder-1.2.2.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geocoder-1.2.2-py2.py3-none-any.whl (45.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file geocoder-1.2.2.tar.gz.

File metadata

  • Download URL: geocoder-1.2.2.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for geocoder-1.2.2.tar.gz
Algorithm Hash digest
SHA256 3189ca809cbee1dc4871bc69d3bd692702dc5e15c3fd80ef76ecb8eaaa52263b
MD5 3651fd74bba97c0abb834537d86c20fc
BLAKE2b-256 b6bfcc30c2f7b2d8a1d25629ab54a2b120acf566239f72e4586caa8a010a76b2

See more details on using hashes here.

File details

Details for the file geocoder-1.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for geocoder-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 84cbc31e1657d22f63e7dfd5de723bc038f83928e364d59fe53558513e01737c
MD5 210e64e0f34b13c80855edd286c38fc1
BLAKE2b-256 44d04ccb629a5fe76e9fdd3568b474f79810eca10e6027269731ad1a8a48dac5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page