This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple Twisted interface to http://geocod.io

Project Description

An extremely bland Twisted client for http://geocod.io. It’s really bland because their api is SO EASY TO USE.

Usage

Nothing too fancy here:

import txgeocodio

txgecodio.configure('YOURAPIKEYHERE')

# Geocode some address and get a list of results
d = txgecodio.geocode('123 Main ST, 91702')
# d is a deferred with a list of results

# Parse an address into parts (no geo lookup is made)
d = txgecodio.parse('42370 Bob Hope Dr, Rancho Mirage, CA')
# d is a deferred with the results in a dict that look something like:
{
    "address_components":
        {"number": "42370",
        "street": "Bob Hope",
        "suffix": "Dr",
        "city": "Rancho Mirage",
        "state": "CA"
    },
    "formatted_address": "42370 Bob Hope Dr, Rancho Mirage, CA"
}

History

0.1.3 ()

  • Geocoding errors in batch mode now return an empty list for that query
  • ^^^ This will surely change in the future.

0.1.2 ()

  • Fixed missing batch method in __init__.py

0.1.1 ()

  • Added batch mode

0.1.0 ()

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
txgeocodio-0.1.3.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Feb 3, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting