ipwhois
Retrieve and parse whois data for IPv4 and IPv6 addresses.
Decision gist · record as of 2026-08-14
Yes, for IP whois lookups. The package is stable, permissively licensed, and has low install friction. Dormant maintenance is a minor concern for a mature utility library, but the codebase is production-ready and no active vulnerabilities are known. Install only if you need whois/RDAP data; be aware of rate limiting constraints and firewall port requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires outbound firewall access to ports 43/tcp (whois), 53/tcp (DNS), and 80/tcp (HTTP) for lookups to succeed; rate limiting by source IP may cause latency.
- Low install friction with three lightweight runtime dependencies.
- Maintenance is dormant (668 days since last release), though the package reached stable status and the repository remains active with no archived flag.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions, typical for established network utility libraries.
last release 2024-10-15 (668 days) · last repo commit 2024-10-15 · 593 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 615,355 downloads/mo, #5,742 on PyPI
Alternatives
Verify before relying
pip install ipwhois
from ipwhois import IPWhois
obj = IPWhois('8.8.8.8')
results = obj.lookup_rdap()
print(results)- Whether Python 2.7 support is still actively tested or maintained given the dormant status.
- Current behavior and reliability of experimental bulk query support introduced in v1.0.0.
- Whether LACNIC rate limiting remains a practical issue for typical usage patterns.
What it is and what it does
ipwhois is a Python library for querying whois and RDAP registries to retrieve network ownership and registration data for IP addresses. It supports both IPv4 and IPv6, with a focus on parsing regional internet registry responses into a standard dictionary format. The library can query via RDAP (the modern HTTP-based protocol, recommended), legacy whois protocol, or national internet registries for Japan and South Korea. It also includes ASN (Autonomous System Number) lookup functionality and a command-line interface.
The package depends on dnspython for DNS queries, defusedxml for secure XML parsing, and ipaddr (Python 2.7 only). It handles network recursion for parent/child relationships and supports proxy configuration for RDAP queries. Rate limiting is a known constraint, particularly when multiple users share a source IP or when querying LACNIC. The library is stable and widely used but has not been actively developed recently.
Use it for
- Look up network ownership and contact details for an IP address to identify the responsible organization.
- Retrieve ASN information and origin data for IP addresses in network monitoring or security workflows.
- Parse whois data for bulk IP analysis using experimental bulk query support (with caution on rate limits).
- Query national internet registries for IP addresses in Japan or South Korea where regional data is restricted.
- Build CLI tools or scripts that need human-readable whois output with optional ANSI colored formatting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, for IP whois lookups.
The package is stable, permissively licensed, and has low install friction. Dormant maintenance is a minor concern for a mature utility library, but the codebase is production-ready and no active vulnerabilities are known. Install only if you need whois/RDAP data; be aware of rate limiting constraints and firewall port requirements.
Install
ipwhois on PyPI
Before you install
Low install friction with three lightweight runtime dependencies. Maintenance is dormant (668 days since last release), though the package reached stable status and the repository remains active with no archived flag.
Requires outbound firewall access to ports 43/tcp (whois), 53/tcp (DNS), and 80/tcp (HTTP) for lookups to succeed; rate limiting by source IP may cause latency.
License in practice
BSD permissive license allows commercial and private use with minimal restrictions, typical for established network utility libraries.
Quickstart
pip install ipwhois
from ipwhois import IPWhois
obj = IPWhois('8.8.8.8')
results = obj.lookup_rdap()
print(results)
Verify before relying
- Whether Python 2.7 support is still actively tested or maintained given the dormant status.
- Current behavior and reliability of experimental bulk query support introduced in v1.0.0.
- Whether LACNIC rate limiting remains a practical issue for typical usage patterns.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesdnspythondefusedxmlipaddr |
| Maintenance | Dormant 668 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 615,355 / month, #5,742 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Software Development |
Evidence: ipwhois-1.3.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ip address registration data”
- ipwhoisRetrieves and parses whois and RDAP data for IPv4 and IPv6 addresses,…
- whoisitQuery RDAP (Registration Data Access Protocol) services to look up…
- cidr-trieStores and queries CIDR IP address blocks (IPv4 and IPv6) in a trie…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also censys · whoisit · yarg · nslookup · python-whois · whois · IP2Location · shodan · geoip2fast · IPy