ipTiger is an python package for find ip address details such as country name, city name, latitude and longitude etc.
Project description
ipTiger
ipTiger is an python package for find ip address details such as country name, city name, latitude and longitude etc
how to install
pip install ipTiger
example1
from ipTiger import find_ip_details,detect_ip_address
find_ip_details()
>>>your ip address: 195.181.162.180
{'status': 'success', 'continent': 'North America', 'continentCode': 'NA', 'country': 'United States', 'countryCode': 'US', 'region': 'FL', 'regionName': 'Florida', 'city': 'Miami', 'district': '', 'zip': '33197', 'lat': 25.7689, 'lon': -80.1946, 'timezone': 'America/New_York', 'isp': 'Datacamp Limited', 'org': '', 'as': 'AS60068 Datacamp Limited', 'asname': 'CDN77', 'reverse': 'unn-195-181-162-180.cdn77.com', 'mobile': False, 'proxy': True, 'hosting': True, 'query': '195.181.162.180'}
detect_ip_address()
>>>your ip address: 195.181.162.180
find_ip_details
find_ip_details() function give you details of your ip address such as country name, city name, latitude and longitude etc.
detect_ip_address
detect_ip_address() function will find your ip adrress only.
example2
here is an example if you want to find any specific details for ip address
from ipTiger import detect_ip_address,find_ip_details
data = find_ip_details()
print("country name: ", data["country"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipTiger-0.0.1.tar.gz.
File metadata
- Download URL: ipTiger-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc5bc37e623f2c743e0bd5aaae90425a0a2f26ffc8d3c2b4f6befdca5bd1aa4a
|
|
| MD5 |
32689a341c72da051b00999565454610
|
|
| BLAKE2b-256 |
5df916f0602dc947b446f7f4640082925d9ac1f036c8e3ee4c3c20465f07dbb6
|
File details
Details for the file ipTiger-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ipTiger-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8917400cd4105ddffec51f7ee0c683ae7f8a516d24ee9674fc818a6e01f357a2
|
|
| MD5 |
414923eea0cefbbbcb414191ee471a68
|
|
| BLAKE2b-256 |
adf68db66e3ef7a22171698ffa7a4d1e83ef006fd53750473914650105481660
|