rdapify
A fast, secure RDAP client for Python — powered by Rust.
Installation
pip install rdapify
Usage
import rdapify
# Query a domain
result = rdapify.domain("example.com")
print(result["registrar"]["name"])
print(result["expiration_date"])
# Query an IP address
ip = rdapify.ip("8.8.8.8")
print(ip["country"])
# Query an ASN
asn = rdapify.asn("AS15169")
print(asn["name"])
# Query a nameserver
ns = rdapify.nameserver("ns1.google.com")
print(ns["ip_addresses"])
# Query an entity
entity = rdapify.entity("ARIN-HN-1", "https://rdap.arin.net/registry")
print(entity["handle"])
Features
- 5 query types: domain, IP, ASN, nameserver, entity
- IANA Bootstrap — automatic server discovery
- SSRF protection built-in
- In-memory cache
- IDN/Punycode support
- Zero OpenSSL dependency (rustls)
License
MIT
Release files for rdapify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rdapify-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.34+ x86-64 | Details |
Release files / rdapify-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl
| Download URL | rdapify-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.8 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5a9f5b644d796a2a5202d457f5754e1f5048f28e286e370aff0c9cd4d07d3d1d
|
|
BLAKE2b-256 checksum How to use checksums |
8b8a3421e6d767ec42e5a0836a2088497eeab212264d228e0a5a3e1a8dcbd1ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|