python-google-i18n-address
Port variant py310
Summary Address validation for Google's i18n DB (3.10)
Package version 3.1.0
Homepage https://github.com/mirumee/google-i18n-address
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 09 JUL 2023, 16:54:55 UTC
Port created 30 OCT 2018, 18:17:46 UTC
Subpackage Descriptions
single Google i18n address =========================================================================================== |codecov.io| |GH Actions| |PyPi downloads| |PyPi version| |PyPi pythons| This package contains a copy of [Google's i18n address] metadata repository that contains great data but comes with no uptime guarantees. Contents of this package will allow you to programatically build address forms that adhere to rules of a particular region or country, validate local addresses and format them to produce a valid address label for delivery. The package also contains a Python interface for address validation. Addresses validation -------------------- The normalize_address function checks the address and either returns its canonical form (suitable for storage and use in addressing envelopes) or raises an InvalidAddressError exception that contains a list of errors. Address fields ~~~~~~~~~~~~~~ Here is the list of recognized fields: * country_code is a two-letter ISO 3166-1 country code * country_area is a designation of a region, province or state, recognized values include official names, designated abbreviations, official translations and latin transliterations * city is a city or town name, recognized values include official names, official translations and latin transliterations * city_area is a sublocality like a district, recognized values include official names, official translations and latin transliterations * street_address is the (possibly multiline) street address * postal_code is a postal code or zip code * sorting_code is a sorting code * name is a person's name * company_name is a name of a company or organization Errors ~~~~~~ Address validation with only country code:
Configuration Switches (platform-specific settings discarded)
PY310 ON Build using Python 3.10 PY311 OFF Build using Python 3.11
Package Dependencies by Type
Build (only) python-pip:single:py310
autoselect-python:single:standard
Build and Runtime python310:single:standard
Runtime (only) python-requests:single:py310
Download groups
main mirror://PYPIWHL/79/27/9a9685e0821cc2745c6b20aef18c43395574c7501e70bfa6b0e81e5cd8cf
Distribution File Information
86ce6f07eb8471b7e034de56c424602d2b4323ec0d6f0b27e69adceaf62fca47 772138 google_i18n_address-3.1.0-py2.py3-none-any.whl
Ports that require python-google-i18n-address:py310
python-xml2rfc:py310 Request For Comment authoring with XML (3.10)