pyap2
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: pyap2 | ||
| Version: 0.2.6 | ||
| Version: 0.2.7 | ||
| 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 |
@@ -792,3 +792,11 @@ # -*- coding: utf-8 -*- | ||
| street_type_leading_list = ["Camino", "El\ Camino", "Avenue", "Blvd", "Ave"] | ||
| street_type_leading_list = [ | ||
| "Camino", | ||
| "El\ Camino", | ||
| "Avenue", | ||
| "Blvd", | ||
| "Ave", | ||
| "La\ Rue", | ||
| "Rue", | ||
| ] | ||
@@ -898,6 +906,7 @@ | ||
| occupancy_details = r"(?:[A-Za-z\#\&\-\d]{{1,7}}(?:\s?{post_direction_re})?)".format( | ||
| post_direction_re=post_direction_re | ||
| occupancy_details = ( | ||
| r"(?:(?:\#\ )?[A-Za-z\#\&\-\d]{{1,7}}(?:\s?{post_direction_re})?)".format( | ||
| post_direction_re=post_direction_re | ||
| ) | ||
| ) | ||
| occupancy = r""" | ||
@@ -931,3 +940,6 @@ (?P<occupancy> | ||
| [Ss][Pp][Cc]|[Ss][Pp][Aa][Cc][Ee] | ||
| )\b[\ \,\.]+ | ||
| | | ||
| # Lot | ||
| [Ll][Oo][Tt] | ||
| )\b[\ \,\.]* | ||
| {occupancy_details}? | ||
@@ -955,2 +967,7 @@ | | ||
| ) | ||
| | | ||
| (?: | ||
| #Block abbreviated as B | ||
| [Bb]\d{{1,4}} | ||
| ) | ||
| ) | ||
@@ -1266,3 +1283,2 @@ ) | ||
| ) -> str: | ||
| return r""" | ||
@@ -1269,0 +1285,0 @@ (?P<full_address> |
+1
-1
| [tool.poetry] | ||
| name = "pyap2" | ||
| version = "0.2.6" | ||
| version = "0.2.7" | ||
| 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.
83692
0.4%2406
0.75%