Skip to main content

Get Country, Region, City, GPS ,ZIP and ISP

Project description

This library get some useful information from IP address such as Country, Region, City, GPS ,ZIP and ISP.

Usage

  • Make sure you have Python installed in your system
  • run a command in CMD
pip install get-ipinfo

You can get the details by entring the ip

Example

# test.py
from get_ipinfo import ip_details

print(ip_details("192.158.11.38"))

Run Script

python test.py

Note

  • Tested on Python 3.9
  • You can search any public ip such as ipv4/ipv6.
  • Internet Connection needed otherwise return Error Message

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

get_ipinfo-0.1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

get_ipinfo-0.1.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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