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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file get_ipinfo-0.1.1.tar.gz.

File metadata

  • Download URL: get_ipinfo-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for get_ipinfo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aebe26f9a52c54260dd83c06bfc4340f90d91cfd3ce51b945688ee4e2941b3b7
MD5 dac11e3aac66bf69222c44b13df4a26f
BLAKE2b-256 9adcc826cfbb1cb72fa94b4b3ce99817a617c43df4d1c153682b22f6cc4e5bda

See more details on using hashes here.

File details

Details for the file get_ipinfo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: get_ipinfo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for get_ipinfo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c0c9ff27a934a44fe96e941b9757f709e79b704e9079ef1fbf48ca25f50abd9
MD5 5f8404c9770b244b42065645e695b286
BLAKE2b-256 7ff13a0b33d967a1216e39c86a33ea598d3d1b1e828c6dc9f6ae138c281d8532

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