Skip to main content

A simple commandline app for geocoding

Project description

Geocoding CLI

Python 3.8

Installation

Using Pip

  $ pip install geocli

Manual

  $ git clone https://github.com/expandaventures/geocoding-cli
  $ cd geocoding-cli
  $ python setup.py install

Usage

$ geocli

Geocode a single address

Usage: geocli geocode [OPTIONS] ADDRESS [STATE] [CITY]

$ geocli geocode --dry_run 'Av. Reforma 222' cdmx mexico

Batch: geocode a addresses in a file

Usage: geocli batch [OPTIONS] INPUT_FILE OUTPUT_PATH

$ geocli batch --dry_run sample.csv out.csv

The expected schema in the file is:

id, state, unused, city, ... , address
1, CDMX,,Mexico,,Av. Reforma 222

The ONLY columns used are 2nd, 4th and last. (e.g. row[1], row[3], row[-1])

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

geocli-1.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

geocli-1.0.1-py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page