Send The Raven
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.
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:
usaddress-scourgify for parsing addresses.
xmltodict for working with XML.
aiohttp for asynchronous HTTP requests.
geopy for geocoding.
h3-py for geospatial indexing.
We thank the developers of these libraries for their contributions.
Metadata
Release files for send-the-raven 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| send_the_raven-0.1.2.tar.gz | 155.2 kB | Without provenance | Details for send_the_raven-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| send_the_raven-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for send_the_raven-0.1.2-py3-none-any.whl |
Total release size: 312.3 kB
Release files / send_the_raven-0.1.2.tar.gz
| Download URL | send_the_raven-0.1.2.tar.gz |
|---|---|
| Size | 155.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1affb5c65a012412334c8f0a597e714eb09daaf76bdefe2472940815c642378e
|
|
BLAKE2b-256 checksum How to use checksums |
25a0f8eea828d01d72b4ad97da331362eba5bcf8bb357faa35c71c66f3a91f35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / send_the_raven-0.1.2-py3-none-any.whl
| Download URL | send_the_raven-0.1.2-py3-none-any.whl |
|---|---|
| Size | 157.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
437c845341dc4b5cb672195dad3b795dd6f7d366c8a44be6e19c3d16288538e6
|
|
BLAKE2b-256 checksum How to use checksums |
23cfb9b597894998c4582709a9ee42a38dfff7b39229487f91dc0b833e869461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for send-the-raven 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.