Skip to content

hlevenberg/radiuszip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nearby Zip Code Finder

Finds zip codes within a specified distance of a given list of zip codes from a csv file.


Usage

foo@bar:~$ python radius_zips.py test_file.csv # Finds zip codes within 10 miles of described cities
foo@bar:~$ python radius_zips.py -r 30 test_file.csv # Finds zip codes within 30 miles
foo@bar:~$ python radius_zips.py test_file.csv out.csv # Sets output to out.csv
foo@bar:~$ python radius_zips.py -h # Gets Help File

Installation

  1. Clone this repo
  2. Create a virtual environment, and run pip -r requirements.txt to install the required dependencies.
  3. Create a secrets.json file containing the headers described here.
{
  "x-rapidapi-key": "Your Key Here",
  "x-rapidapi-host": "zip-code-distance-radius.p.rapidapi.com"
}

Created by @hlevenberg and @rgarber11.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages