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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file geocli-1.0.1.tar.gz.

File metadata

  • Download URL: geocli-1.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for geocli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4d7eca291cb0f926684e0da9bb81a19eec9b097c192b90a35466c704876ad831
MD5 ea6be1e0d081535d8f4f6a794cf4f63d
BLAKE2b-256 52f14579baae00f9ced3e05be437fd1930b5f03743ab8b83564d1f247042fda0

See more details on using hashes here.

File details

Details for the file geocli-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: geocli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for geocli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 342d0a6326a696f1e8f1010eff88866e2d916db3afbd325ddcea161f7d0b0bab
MD5 41fdbeba14e81a46cc6ca76373696d70
BLAKE2b-256 b21ca0edd32c8b45e5a9b92edfdf418694a7c72926a977f7984c8c47d9c15371

See more details on using hashes here.

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