Catalog PyPI
PACKAGE EXPLORERView in registry

addrx

PyPI

A Python client for parsing address using Libpostal API service.

Versions collected1
Direct dependencies14From release 0.1.2
Last observed20 Oct, 19:23 UTC

README

Version 0.1.2 documentation

AddrX

Python client for parsing address using Libpostal API service.

AddrX is a Python-based client for parsing addresses using the libpostal API service. This service can be used to parse single addresses or a list of addresses both synchronously and asynchronously.

Features

  • Parse single and multiple addresses in a list.
  • Supports both synchronous and asynchronous execution.
  • Inspired by the Dripostal service.

Installation

You can install AddrX via pip:

pip install addrx

API Methods

  • AddrX.single_parser(url: str, address: str, exclude_address_type: list[str] = None)

    • Parse a single address.

    • Parameters:

      • url - The API endpoint for the libpostal service.
      • address - Addresses to parse.
      • exclude_address_type - A list of address type that is not required | default None Returns: Parsed address.
  • AddrX.parser(url: str, address_list: list[str], exclude_address_type: list[str])

    • Parses a list of addresses synchronously.

    • Parameters:

      • url - The API endpoint for the libpostal service.
      • address_list - A list of addresses to parse.
      • exclude_address_type - A list of address type that is not required | default None
    • Returns: List of parsed address.

  • AddrX.async_parser(url: str, address_list: list[str], exclude_address_type: list[str])

    • Parses a list of addresses asynchronously.

    • Parameters:

      • url - The API endpoint for the libpostal service.
      • address_list - A list of addresses to parse.
      • exclude_address_type - A list of address type that is not required | default None
    • Returns: List of parsed address.

License

This project is licensed under the MIT License.


AddrX is built to simplify address parsing using Libpostal while offering both synchronous and asynchronous capabilities.

Happy coding!

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.29 May 202514

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
joydeep-ghatak/addrx

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:23 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:60285fdad86acc389eb26ca61887cccbbb30dca3adebe6df01d4afe30c0efac0