Skip to main content

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

Metadata

Release files for geocli 1.0.1

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

Source distribution (sdist)

Source distribution for geocli 1.0.1
File Size Uploaded
geocli-1.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geocli 1.0.1
File Interpreter ABI Platform
geocli-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / geocli-1.0.1.tar.gz

Download URL geocli-1.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d7eca291cb0f926684e0da9bb81a19eec9b097c192b90a35466c704876ad831
BLAKE2b-256 checksum
How to use checksums
52f14579baae00f9ced3e05be437fd1930b5f03743ab8b83564d1f247042fda0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / geocli-1.0.1-py3-none-any.whl

Download URL geocli-1.0.1-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
342d0a6326a696f1e8f1010eff88866e2d916db3afbd325ddcea161f7d0b0bab
BLAKE2b-256 checksum
How to use checksums
b21ca0edd32c8b45e5a9b92edfdf418694a7c72926a977f7984c8c47d9c15371
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

3 release files

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