Skip to main content

Generate minimum sets of zip codes, based on a radius, that can be used in a series of searches to cover the entire USA

Project description

zip-code-radius
===============

:info: Generate minimum sets of zip codes, based on a radius, that
can be used in a series of searches to cover the entire USA

Features
********

* downloads an up-to-date reference set of US postal codes from
a repository hosted on ``github.com``

Installation
------------

.. code-block:: shell

pip install zip-code-radius

Usage
-----

.. code-block:: python

import sys

from zip_code_radius import solver

radius = float(sys.argv[1])

results = solver.solve(radius)

print "radius: %d, zip-codes: %d" % (radius, len(results))

Notes
-----

``zip-code-radius`` stores the US postal code data at your os temp dir (e.g. /tmp/).

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

zip-code-radius-0.0.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

zip_code_radius-0.0.1-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zip-code-radius-0.0.1.tar.gz.

File metadata

File hashes

Hashes for zip-code-radius-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f9e297ade0c105bad0740498173315e812a43290d2402ccd1ac122cab894950c
MD5 2b7ea97ee17296ada8e5099858d9741d
BLAKE2b-256 ca81056e8d3dc69a377a59182cb40c145252ab54ab83b3df0137e0b3a2dd48fc

See more details on using hashes here.

File details

Details for the file zip_code_radius-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for zip_code_radius-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 285ef1bb4ff073f2ef9fe5b54a2f1972c756bfe57ceb25ccac811d15fee6a0eb
MD5 ae77f98939c3890dace02a9eb5542a1a
BLAKE2b-256 cb399f1da089d071657772ceb19338f5d8da171f21a0c0e7da577b22ba2f31e1

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