Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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/).

Release history Release notifications

This version
History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zip_code_radius-0.0.1-py2.py3-none-any.whl (10.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 16, 2015
zip-code-radius-0.0.1.tar.gz (9.8 kB) Copy SHA256 hash SHA256 Source None Feb 16, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page