county-adjacency-0.1.3
توضیحات
This package provides adjacency information for US counties (or their equivalent).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | county-adjacency-0.1.3 |
| نام | county-adjacency |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chad Dotson |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/chaddotson/county_adjacency |
| آدرس اینترنتی | https://pypi.org/project/county-adjacency/ |
| مجوز | MIT |
County Adjacency
================
.. image:: https://github.com/chaddotson/county_adjacency/workflows/main/badge.svg
:target: https://github.com/chaddotson/county_adjacency/actions?query=workflow%3Amain
.. image:: https://img.shields.io/pypi/v/county-adjacency.svg
:target: https://pypi.org/project/county-adjacency/
.. image:: https://img.shields.io/pypi/pyversions/county-adjacency.svg
:target: https://pypi.org/project/county-adjacency/
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
This package provides adjacency information for US counties (or their equivalent). This data is derived
from the US Census `website`.
.. _website: https://www.census.gov/geographies/reference-files/2010/geo/county-adjacency.html
Example
-------
.. code-block:: python
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')
نیازمندی
| مقدار | نام |
|---|---|
| ==0.12.0 | python-Levenshtein |
| ==20.8b1 | black |
| >=5.0 | coverage |
| >=3.8.0 | flake8 |
| >=1.5.0 | flake8-docstrings |
| >=0.0.14 | flake8-rst-docstrings |
| ==2.25.0 | requests |
| >=6.1 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl county-adjacency-0.1.3:
pip install county-adjacency-0.1.3.whl
نصب پکیج tar.gz county-adjacency-0.1.3:
pip install county-adjacency-0.1.3.tar.gz