AusAddressMatch
Address Matching for Australian Addresses. Compare Address A to Address B.
Functionality
- Match postcode
- Match state (abbreviated and non abbreviated)
- Account for abbreviations ie
StreetandSt - Remove "noise" ie
Unittowerau - Remove punctuation
Usage
from aussieaddress import Address
address1 = "U54 Loggins St, Kennytown, QLD 4123"
address2 = "U54 Loggins Street Kennytown 4123 Queensland"
# Initalise the Address Class
matcher = Address(address1=address1, address2=address2)
# Run Matching
matcher.run()
result = matcher.matched
# Show all options
print(matcher.__str__())
Options
You can turn off postcode_check and state_check functionality, on by default
matcher.postcode_check = False
matcher.state_check = False
You can also set the match threshold which by default is 75
matcher.threshold = 80
Updaing Replacements and Removals
To check the current removals
matcher.removals
Adding a new removal
matcher.removals = "Plank"
To check the current replacements
matcher.replacements
Adding a new replacement
matcher.replacements = ["Stroad", "strd"]
Note: with replacements each array is checked individually, with index 0 becoming the replacement value
Ie. ["Street", "st"] with 123 test st will become 123 test street
Authors
Jack Jorgensen
Metadata
Release files for aussieaddress 0.1.0
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 |
|---|---|---|---|---|
| aussieaddress-0.1.0.tar.gz | 4.8 kB | Without provenance | Details for aussieaddress-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aussieaddress-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aussieaddress-0.1.0-py3-none-any.whl |
Total release size: 10.3 kB
Release files / aussieaddress-0.1.0.tar.gz
| Download URL | aussieaddress-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dd7d8a9c1a91ec922899fa50a3618d0a407f55d8c85d24aa5a46166e1960d1f
|
|
BLAKE2b-256 checksum How to use checksums |
0e8419f785a46b480b5085c188ca812aa43e37d11dba1d59ee9d8a6762537b6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / aussieaddress-0.1.0-py3-none-any.whl
| Download URL | aussieaddress-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39d5c341781b12585a371b9ab2fcbcfe6d5fd54ddc0e2e76ea6cda1514a6aed2
|
|
BLAKE2b-256 checksum How to use checksums |
599cb3923dbe9c322ce44650e6fcf604ee3c7d0a28e4acb07ef7e3807975773b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for aussieaddress 0.1.0
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.