Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting