Skip to main content

polyfinder

Given a single-line address, polyfinder returns geoenabled data from ESRI ArcGIS REST services. In its default configuration, it uses geocoding services hosted by ESRI (primary) and MapQuest (fallback).

Currently the only useful method available is to get ward districts in Philadelphia. However, this could be easily adapted to work with other endpoints.

Formal documentation has not yet been developed, so check the docstrings and comments in the source.

Here’s a simple example:

>>> from polyfinder import PolyFinder
>>> pf = PolyFinder('226 Ripka St, 19127')
>>> pf.ward_div()
{u'ADDRESS': u'201 FOUNTAIN ST',
 u'CENTROID_X': -75.23040009,
 u'CENTROID_Y': 40.03039932,
 u'DIVISION': u'08',
 u'ID': u'2108',
 u'LOCATION': u'Y',
 u'MATCH_ADDR': u'201 FOUNTAIN ST',
 u'OBJECTID': 438,
 u'OBJECTID_1': 1253,
 u'OBJECTID_12': 1253,
 u'PERIMETER': 1.0217016,
 u'POLLING_PL': u'HILLSIDE RECREATION CENTER',
 u'POLLING_X': -75.229599,
 u'POLLING_Y': 40.03350067,
 u'SHAPE.AREA': 1501706.65864654,
 u'SHAPE.LEN': 5394.584423083521,
 u'SHAPE_LENG': 5394.5844231,
 u'WARD': u'21'}

Metadata

Release files for polyfinder 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polyfinder 0.1
File Size Uploaded Provenance Actions
polyfinder-0.1.tar.gz 3.9 kB Without provenance Details for polyfinder-0.1.tar.gz

Release files / polyfinder-0.1.tar.gz

Download URL polyfinder-0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0e4a5caed225b929f6ab99de80aed741188087c5c5a61eca07bd14d13ab508e2
BLAKE2b-256 checksum
How to use checksums
5f2b41efde1d0dc02eb90802684d34313ec285efb1c86ce5a6c3b41bf6db8d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for polyfinder 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page