Skip to main content

A collection of toolkit and algorithms for handling US addresses

Project description

Send the Raven is a Python library that provides a comprehensive collection of toolkits and algorithms for handling US addresses. It aims to simplify the process of working with US addresses, offering functionalities such as parsing, validation, formatting, and more.

Game of Thrones Send the Ravens GIF

Checkout the official documentation.

Features

  • Address Parsing: Extract structured information from US addresses, including street names, house numbers, city, state, and ZIP codes.

  • Address Validation: Validate US addresses to ensure accuracy and compliance with USPS standards.

  • Address Formatting: Format US addresses in a consistent and standardized manner for various purposes.

  • Address Geocoding: Convert US addresses into Longitude and Latitude.

  • Additional Utilities: Additional utilities to enhance address handling, such as address comparison, address normalization, and more.

Installation

send_the_raven can be installed from PyPI:

pip install send-the-raven

Usage

Here is a quick example of using send_the_raven to validate addresses into USPS Database:

from send_the_raven import Validator

addresses = [
   {"street": "123 Main St", "city": "Anytown", "state": "CA", "zip_code": "12345"},
   {"street": "456 Oak Rd", "city": "Forest", "state": "VT", "zip_code": "67890"}
]

validator = Validator(addresses, usps_id="MY_ID")
valid_addresses = validator()

send_the_raven handles parsing the address data, constructing the validation requests, and returning the corrected addresses.

The :py|.`~send_the_raven.address.Address`|_ class also provides methods for normalizing, geocoding, and working with addresses.

Acknowledgments

send_the_raven uses the following open source libraries:

We thank the developers of these libraries for their contributions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

send_the_raven-0.1.1.tar.gz (154.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

send_the_raven-0.1.1-py3-none-any.whl (156.3 kB view details)

Uploaded Python 3

File details

Details for the file send_the_raven-0.1.1.tar.gz.

File metadata

  • Download URL: send_the_raven-0.1.1.tar.gz
  • Upload date:
  • Size: 154.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for send_the_raven-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ae8ec5e94601a7f675a18ec8b08a3565a33185404f9258d4e00d816deeefedcf
MD5 baf469da6f03ab3213a7a82d8964c58c
BLAKE2b-256 e970caf5d3176376c91d255fa1dc0d9866db201e665f1f97ed2b38e4a6c360ad

See more details on using hashes here.

File details

Details for the file send_the_raven-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: send_the_raven-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 156.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for send_the_raven-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a7e1c4b9f23ceb289529fed6b3e55f9ae63cdd7846a4f1fb90eef6c5cf86e16
MD5 d29933fc62372ea52171a5976be572ef
BLAKE2b-256 26c1ca751f9b5fc8b8938cf6044438877e75bbdf1343b2da5ec83313acf43748

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page