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.3
to
0.2.4
+1
-1
PKG-INFO
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

@@ -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>

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