Unified RDAP client for Python, powered by Rust
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rdapify-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: rdapify-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a9f5b644d796a2a5202d457f5754e1f5048f28e286e370aff0c9cd4d07d3d1d
|
|
| MD5 |
964e5c2c60b0e4f46f5582717854befa
|
|
| BLAKE2b-256 |
8b8a3421e6d767ec42e5a0836a2088497eeab212264d228e0a5a3e1a8dcbd1ea
|