{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"},{"label":"Information Analysis","url":"https://skillfed.io/packages/category/scientific-engineering-information-analysis/2"}],"enrichment":{"capability":"Pyap2 detects and parses postal addresses from unstructured text using regex patterns, currently supporting US, Canadian, and British address formats.","skillfed_tags":["text-extraction","regex-based","web-scraping"],"use_cases":["Extract shipping or mailing addresses from user-submitted forms or scraped web content.","Parse addresses from unstructured documents like emails or PDFs before geocoding or validation.","Detect whether a text block contains an address as a preprocessing step in data pipelines.","Normalize address components (street, city, state, zip) into structured fields for database storage."],"what_it_does":"Pyap2 is a maintained fork of the original Pyap library that uses regular expressions to find and parse postal addresses embedded in unstructured text. It extracts address components (street, city, state, zip) and returns them as structured objects or dictionaries. The library is designed for quick detection when you don't know whether text contains addresses at all, making it useful in web scraping and data extraction workflows.\n\nBecause it relies on regex patterns rather than city lists or street databases, it's fast but can produce false positives on strings that happen to match address-like patterns. The maintainers note that such errors are rare in practice. The fork adds type hints and handles more edge cases than the original, including partial addresses with only street information.","worth_installing":"Yes, if you need lightweight regex-based address detection in US, Canadian, or British text and can tolerate occasional false positives. The low install friction, active maintenance, MIT license, and zero security vulnerabilities make it a safe choice. Not suitable if you require high accuracy on non-English addresses or need validation against authoritative address databases."},"id":"pyap2","links":{"html":"https://skillfed.io/packages/pyap2","md":"https://skillfed.io/packages/pyap2.md","pypi":"https://pypi.org/project/pyap2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-10","license_spdx":null,"license_treatment":"permissive","name":"pyap2","python_support":"supports_current","summary":"Pyap2 is a maintained fork of pyap, a regex-based library for parsing US, CA, and UK addresses. The fork adds typing support, handles more address formats and edge cases."},"popularity":{"monthly_downloads":245531,"position":8729,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.17"}
