Skip to main content

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.

Metadata

Release files for txgeocodio 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for txgeocodio 0.1.3
File Size Uploaded
txgeocodio-0.1.3.tar.gz 6.5 kB Details

Release files / txgeocodio-0.1.3.tar.gz

Download URL txgeocodio-0.1.3.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f6942c58058a2e745ef41f8c30bc79b1892dd719dabd2f32cf08cb997d7c42ae
BLAKE2b-256 checksum
How to use checksums
690af625903f544d1a35447037dd71b907f5406230e0b3f10c71ac3014778e13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page