ipwhois-python

v1.2.1 safe
1.6
Low Risk

Official Python client for the ipwhois.io IP Geolocation API. Simple, dependency-free, supports single and bulk IP lookups.

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

  • Test runner config found: pyproject.toml
  • 1 test file(s) detected (e.g. test_ipwhois.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://ipwhois.io/documentation
  • Detailed PyPI description (10174 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 21 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • ly. """ req = urllib.request.Request( url, headers={
  • try: with urllib.request.urlopen(req, timeout=self._timeout) as resp:
  • rtal</html>") with patch("urllib.request.urlopen", return_value=fake): result = IPWhois().loo
  • , headers={}) with patch("urllib.request.urlopen", return_value=fake): result = IPWhois().loo
  • , headers={}) with patch("urllib.request.urlopen", side_effect=err): result = IPWhois("BAD").
  • fter": "42"}) with patch("urllib.request.urlopen", side_effect=err): result = IPWhois().looku
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • l = _build_url(ipwhois, "/" + __import__("urllib.parse", fromlist=["quote"]).quote("2c0f:fb50:4003::", safe="")) assert "%3A" in url
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "ipwhois.io" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with ipwhois-python
Build a simple Python application using the ipwhois-python package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!