Skip to main content

ip information gathering.

Project description



Simple Example

>>> from ipwhois import ipwhois
>>> ipwhois('0') # zero string default local IP
"city": "Batu Pahat",
"completed_requests": 2,
"continent": "Asia",
"continent_code": "AS",
"country": "Malaysia",
"country_capital": "Kuala Lumpur",
"country_code": "MY",
"country_flag": "",
"country_neighbours": "BN,TH,ID",
"country_phone": "+60",
"currency": "Malaysian Ringgit",
"currency_code": "MYR",
"currency_plural": "Malaysian ringgits",
"currency_rates": "4.146",
"currency_symbol": "RM",
"ip": "",
"isp": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
"latitude": "1.849442",
"longitude": "102.9288341",
"org": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
"region": "Johor",\n  "success": true,
"timezone": "Asia/Kuala_Lumpur",
"timezone_dstOffset": "0",
"timezone_gmt": "GMT +8:00",
"timezone_gmtOffset": "28800",
"timezone_name": "Malaysia Time",
"type": "IPv4",

Command line type ipwhois

@copyright 21052021


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

kamabay-ipwhois-0.1.0.tar.gz (6.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page