⚠️ DEPRECATED — RDAPify is now Rust-first. Future Python support via PyO3 after v1.0. See https://github.com/rdapify/RDAPify
Project description
rdapify-py
⚠️ DEPRECATION NOTICE
This Python package is part of the old RDAPify architecture.
RDAPify is now a Rust-first platform. Future Python support will be provided via PyO3 bindings to the Rust core after RDAPify v1.0.
Main project: https://github.com/rdapify/RDAPify
A fast, secure RDAP client for Python — powered by Rust.
Installation
pip install rdapify-py
Usage
import rdapify_py as rdap
# Query a domain
result = rdap.domain("example.com")
print(result["registrar"]["name"])
print(result["expiration_date"])
# Query an IP address
ip = rdap.ip("8.8.8.8")
print(ip["country"])
# Query an ASN
asn = rdap.asn("AS15169")
print(asn["name"])
# Query a nameserver
ns = rdap.nameserver("ns1.google.com")
print(ns["ip_addresses"])
# Query an entity
entity = rdap.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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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_py-0.2.2-cp38-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: rdapify_py-0.2.2-cp38-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ecbdb22f2fa65653a81d0deb16358d66fd484c9752c011b6f6db080edf4a5d
|
|
| MD5 |
36d938173aedc42e8b6d795f4d7e2d16
|
|
| BLAKE2b-256 |
46567c5bc8cba89a4a3cb705751c32d02f1e51a3c0b8213532d902a5c87cbdc9
|