Skip to main content

⚠️ 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdapify_py-0.2.2-cp38-abi3-manylinux_2_34_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

File details

Details for the file rdapify_py-0.2.2-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for rdapify_py-0.2.2-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c6ecbdb22f2fa65653a81d0deb16358d66fd484c9752c011b6f6db080edf4a5d
MD5 36d938173aedc42e8b6d795f4d7e2d16
BLAKE2b-256 46567c5bc8cba89a4a3cb705751c32d02f1e51a3c0b8213532d902a5c87cbdc9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page