Simple library that allows to geocode using Nominatim or Google V3 API
Project description
easygeo
Geocoding library that makes geocodification easier (and possibly cheaper). It's a wrapper for geopy geocoding tools. And at the moment it allows to use Google's V3 or Nominatim API.
Instalation:
You can install this package using pip.
pip install easygeo
Usage:
from easygeo import GeoCode
g = GeoCode(method="Nominatim", domain="nominatim.openstreetmap.org")
g.geocode("Beauchef 850, Santiago, RM, Chile")
# You can also bulk use this library
df["Address"].apply(g.geocode)
# This function allows to save the cached addresses into a file.
g.save_cache()
Development:
In case you want to install easygeo along with the tools you need to develop and run the tests, run the following in your virtualenv.
$ pip install -e .[dev]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easygeo-0.0.6.tar.gz
(5.1 kB
view hashes)