Skip to main content

A complete Python Geocoding module made easy.

Project description

# [Geocoder]( [![version](]( [![build](](

### A complete Python Geocoding module made easy.

Every task is made easy with tons of help & debug commands!

`python >>> import geocoder # pip install geocoder >>> g ='<address>') >>>, g.lng 45.413140 -75.656703 ... `


## QuickStart

A place to get you started on how to use this module and set up your work station.

Install from PyPi `bash $ pip install geocoder `

## Command Line Interface

Still in early development, this is an easy application to speed up your geocoding needs.

Single Input to JSON

`bash $ geocode 'Ottawa, Ontario' {'status': 'OK', 'locality': 'Ottawa', 'country': 'Canada', 'provider': 'bing', 'state': 'ON', 'location': u'Ottawa, Ontario', 'address': 'Ottawa, ON', 'lat': 45.389198303222656, 'lng': -75.68800354003906, 'quality': 'PopulatedPlace', 'accuracy': 'Rooftop'} `

CSV file input > output

The first row of the CSV will be geocoded, all other attributes will be kept.

`bash $ geocode --input 'items.csv' --output 'results.csv' `

For more development requests for the CLI, please provide your input in the [Github Issues Page](

### Visit the [Wiki](

Please look at the following pages on the wiki for more information about a certain topic.

### Providers Here is a list of providers that are available for use with FREE or limited restrictions.

  • [OSM](
  • [Bing](
  • [Nokia](
  • [Yahoo](
  • [Google](
  • [ArcGIS](
  • [TomTom](
  • [Geonames](
  • [MapQuest](
  • [](

### Extras

The fun extra stuff I added to enjoy some cool features the web has to offer.

  • [Reverse Geocoding](
  • [IP Address]( Address)
  • [Elevation (Meters)](
  • [Time Zone](
  • [CanadaPost](

### 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](

## Support

This project is free & open source, it would help greatly for you guys reading this to contribute, here are some of the ways that you can help make this Python Geocoder better.

### 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](

### Twitter

Speak up on Twitter [@Addxy]( and tell us how you use this Python Geocoder. New updates will be pushed to Twitter Hashtags [#geocoder](

### Thanks to

A big thanks to all the people that help contribute: [@flebel]( [@patrickyan](

Project details

Release history Release notifications

This version
History Node


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-0.8.2-py2.py3-none-any.whl (35.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 (36.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