pyap2
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: pyap2 | ||
| Version: 0.2.3 | ||
| Version: 0.2.4 | ||
| 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. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/argyle-engineering/pyap |
+18
-11
@@ -164,7 +164,7 @@ # -*- coding: utf-8 -*- | ||
| | | ||
| \b(?:NW|NE|SW|SE)\b | ||
| \b(?:[Nn][Ww]|[Nn][Ee]|[Ss][Ww]|[Ss][Ee])\b | ||
| | | ||
| \b(?:N\.W\.|N\.E\.|S\.W\.|S\.E\.) | ||
| \b(?:[Nn]\.[Ww]\.|[Nn]\.[Ee]\.|[Ss]\.[Ww]\.|[Ss]\.[Ee]\.) | ||
| | | ||
| \b(?:N|S|E|W)\b\.? | ||
| \b(?:[Nn]|[Ss]|[Ee]|[Ww])\b\.? | ||
| ) | ||
@@ -1004,14 +1004,21 @@ """ | ||
| (?:(?P<po_box_b>{po_box}){part_div})? | ||
| {street_number}{space_div}? | ||
| (?: | ||
| (?:{numbered_or_typeless_street_name}) | ||
| | | ||
| (?:{typed_street_name}(?![A-Za-z\d\.])) | ||
| | | ||
| {street_number}{space_div}? | ||
| (?: | ||
| {post_direction_re}\ | ||
| \d{{,3}}[A-Za-z\-]{{1,31}} | ||
| (?:{numbered_or_typeless_street_name}) | ||
| | | ||
| (?:{typed_street_name}(?![A-Za-z\d\.])) | ||
| | | ||
| (?: | ||
| {post_direction_re}\ | ||
| \d{{,3}}[A-Za-z\-]{{1,31}} | ||
| ) | ||
| ) | ||
| (?:{space_div}{post_direction})? | ||
| ) | ||
| (?:{space_div}{post_direction})? | ||
| | | ||
| (?: | ||
| \d{{1,4}}{space_div}{post_direction_re}{space_div} | ||
| \d{{1,4}}{space_div}{post_direction_re} | ||
| ) | ||
| ) | ||
@@ -1018,0 +1025,0 @@ (?P<line2> |
+1
-1
| [tool.poetry] | ||
| name = "pyap2" | ||
| version = "0.2.3" | ||
| version = "0.2.4" | ||
| packages = [{ include = "pyap" }] | ||
@@ -5,0 +5,0 @@ description = "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." |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
83140
0.44%2382
0.29%