Postal-address

Latest version: v22.4.22.1

Safety actively analyzes 630406 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.4.1

------------------------------------------------------------------------------------------

* Base our custom ``InvalidAddress`` exception on ``ValueError`` to increase
backward compatibility.

0.4.0

------------------------------------------------------------------------------------------

* Show subdivision as-is in rendered address if not already printed by state,
country or city.
* Document stability policy. Closes 8.
* Change internals to refer to address components as ``fields``.
* Raise custom exception on address validation a detailed list of invalid
fields in one go. Closes 7.

0.3.3

------------------------------------------------------------------------------------------

* Fix bad released version.

0.3.2

------------------------------------------------------------------------------------------

* Add backward compatibility to the ``0.2`` series following territory utils
split out of the ``address`` module. See 8 and 9.

0.3.1

------------------------------------------------------------------------------------------

* Fix rendering of state in address.

0.3.0

------------------------------------------------------------------------------------------

* Remove backward compatibility with the ``0.1`` series.
* Allow direct import of classes from module root.
* Split territory utils out to their own file. See 3.
* Rename ``normalize_country_code`` to ``country_from_subdivision``. Mark the
former as deprecated.
* Address normalization is now non-blocking. It simply reset invalid components
to None. Only a call to ``validate`` method check data consistency.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.