Skip to main content

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

Release files for rdapify-py 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdapify-py 0.4.0
File Size Uploaded
rdapify_py-0.4.0.tar.gz 71.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdapify-py 0.4.0
File Interpreter ABI Platform
rdapify_py-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl CPython 3.8 abi3 Linux glibc 2.34+ x86-64 Details

Total release size: 2.6 MB

Release files / rdapify_py-0.4.0.tar.gz

Download URL rdapify_py-0.4.0.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
89b8646d8a0c7ee364cf0826d00f384c5fabd58a1fef7cd1bc08288f1c0ccd8d
BLAKE2b-256 checksum
How to use checksums
0b1646b8226aaaef69fe66b448076cf6e9ba7aac1cb4bed97058f5d99f3efd67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release files / rdapify_py-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl

Download URL rdapify_py-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl
Size 2.6 MB
Tags CPython 3.8 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
6cf84cfbbee11e99fd3d72978818f7da306dc61b79bc4ce6e18a0332fc42cc0e
BLAKE2b-256 checksum
How to use checksums
2d52865b0c5100309a2738971fd4aa8e360081da5686285d5f2a7f4ba4ab74db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.2.2

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page