Created
October 25, 2017 23:01
-
-
Save ratchetwrench/42f569885508a1f5fa71827d464fe3f9 to your computer and use it in GitHub Desktop.
Get geolocation information from a zipcode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Get geolocation information from a zipcode. | |
https://pypi.python.org/pypi/zipcode | |
""" | |
import zipcode | |
def location_from_zipcode(zip=None): | |
return zipcode.isequal(zip).location_text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment