Skip to main content

IP geolocation and WHOIS lookup tool — find country, ISP, abuse contact, and network info for any IP address

Project description

dargslan-ip-geo

IP Geolocation & WHOIS Lookup — Find country, ISP, abuse contact, and network info for any IP address. Reverse DNS, bulk lookups. Zero external dependencies.

PyPI version License: MIT

Installation

pip install dargslan-ip-geo

CLI Usage

dargslan-ip 8.8.8.8           # Full geolocation report
dargslan-ip 8.8.8.8 --whois   # Include WHOIS data
dargslan-ip 8.8.8.8 --reverse # Reverse DNS only
dargslan-ip 8.8.8.8 --json    # JSON output
dargslan-ip 1.1.1.1 8.8.8.8   # Multiple IPs

Python API

from dargslan_ip_geo import IPGeo
ig = IPGeo()
info = ig.lookup("8.8.8.8")
whois = ig.whois("8.8.8.8")
ig.print_report("8.8.8.8")

More from Dargslan

License

MIT — see LICENSE

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

dargslan_ip_geo-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

dargslan_ip_geo-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file dargslan_ip_geo-1.0.0.tar.gz.

File metadata

  • Download URL: dargslan_ip_geo-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dargslan_ip_geo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 317dbff753efbf8f157564f45c26df031c8d9d4a47400c16174afc1b5bea2407
MD5 a31f03a879829a3013f83231cd38c252
BLAKE2b-256 d9e3eb2a11b00e73b9d604b20e006e21d54c6440be6d1dead2be400f86688622

See more details on using hashes here.

File details

Details for the file dargslan_ip_geo-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_ip_geo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fc7a26cddc9619a25f2dc40a61c6541e37184a4ef0fe77f8a7cbd1ce6ee58c4
MD5 4cd8d9a7c6fca4c37d84cef54b179405
BLAKE2b-256 c6d064b7b74be08332ad9c4b6189b600983eed8638808e4726b69da60166ac82

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