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 Distribution

rdapify_py-0.4.0.tar.gz (71.0 kB view details)

Uploaded Source

Built Distribution

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

rdapify_py-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl (2.6 MB view details)

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

File details

Details for the file rdapify_py-0.4.0.tar.gz.

File metadata

  • Download URL: rdapify_py-0.4.0.tar.gz
  • Upload date:
  • Size: 71.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for rdapify_py-0.4.0.tar.gz
Algorithm Hash digest
SHA256 89b8646d8a0c7ee364cf0826d00f384c5fabd58a1fef7cd1bc08288f1c0ccd8d
MD5 1458d6cda106bf62cf88cfb85281bd05
BLAKE2b-256 0b1646b8226aaaef69fe66b448076cf6e9ba7aac1cb4bed97058f5d99f3efd67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rdapify_py-0.4.0-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6cf84cfbbee11e99fd3d72978818f7da306dc61b79bc4ce6e18a0332fc42cc0e
MD5 bc3c09352a2bd0931687776cfe31c66f
BLAKE2b-256 2d52865b0c5100309a2738971fd4aa8e360081da5686285d5f2a7f4ba4ab74db

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