addrly
Official Python SDK for the Addrly email validation API.
Install
pip install addrly
Quick Start
from addrly import Addrly
client = Addrly("sk_your_api_key")
# Validate an email
result = client.validate_email("user@example.com")
print(result["mx"], result["disposable"], result["domain_age_in_days"])
# Validate a domain
domain = client.validate_domain("example.com")
# Auto-detect (email or domain)
auto = client.validate("test@gmail.com")
Bulk Validation
# Bulk email validation (Pro: 500, Ultra: 1000)
bulk = client.bulk_validate_emails([
"user1@gmail.com",
"user2@yahoo.com",
"spam@tempmail.com",
])
print(bulk["summary"]) # {"total": 3, "valid": 2, ...}
# Bulk domain validation
domains = client.bulk_validate_domains(["gmail.com", "tempmail.com"])
Gates
# Evaluate an email against a gate
decision = client.gate("gate_abc123def456", email="user@tempmail.com")
print(decision["decision"]["action"]) # "block"
Error Handling
from addrly import Addrly, AddrlyError
try:
result = client.validate_email("test@example.com")
except AddrlyError as e:
print(e.status) # 429
print(e.error) # "Rate limit exceeded"
print(e.response) # full API error response
Metadata
Release files for addrly 1.0.1
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 |
|---|---|---|---|---|
| addrly-1.0.1.tar.gz | 3.6 kB | Without provenance | Details for addrly-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| addrly-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for addrly-1.0.1-py3-none-any.whl |
Total release size: 7.5 kB
Release files / addrly-1.0.1.tar.gz
| Download URL | addrly-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ee023701c2f623cf20fdc2fe6950ed99a980a2b38f2bbdc12b2b4e732314a91
|
|
BLAKE2b-256 checksum How to use checksums |
b4761e27a91f7d8160739fb003725131101523507b740213a0a2a0dfae8aadd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / addrly-1.0.1-py3-none-any.whl
| Download URL | addrly-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b1bd7d295b4ea31489035af00f14535432f09013e97dbb53b1d1f7342f61d6b
|
|
BLAKE2b-256 checksum How to use checksums |
a11c6fec03baab6b31547b76185ba8cc6362b91c28951d08eac8e45cd747a63e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for addrly 1.0.1
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.