Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pyap2

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyap2 - npm Package Compare versions

Comparing version
0.2.6
to
0.2.7
+1
-1
PKG-INFO
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>

[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."