Skip to main content

This package provides adjacency information for US counties (or their equivalent).

Project description

https://github.com/chaddotson/county_adjacency/workflows/main/badge.svg https://img.shields.io/pypi/v/county-adjacency.svg https://img.shields.io/pypi/pyversions/county-adjacency.svg https://img.shields.io/badge/code%20style-black-000000.svg

This package provides adjacency information for US counties (or their equivalent). This data is derived from the US Census website.

Example

from county_adjacency import get_neighboring_areas, CountyNotFoundError, supported_areas

try:
    print(get_neighboring_areas("San Francisco County, CA"))
except CountyNotFoundError as error:
    print(error)

('Contra Costa County, CA', 'Marin County, CA', 'San Mateo County, CA')


supported_areas()

('Autauga County, AL', 'Baldwin County, AL', ... , 'St. John Island, VI', 'St. Thomas Island, VI')

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

county_adjacency-0.1.3.tar.gz (166.1 kB view hashes)

Uploaded Source

Built Distribution

county_adjacency-0.1.3-py3-none-any.whl (168.4 kB view hashes)

Uploaded Python 3

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