Skip to main content

ipv4ToLocation

Project description

ipv4ToLocation.py
--------
##develop environment

python3.4.3

##Install

pip3 install ipv4ToLocation

##Usage
Code:

```python
import ipv4ToLocation
print(ipv4ToLocation.findIP("192.168.199.1"))
print(ipv4ToLocation.findIP("114.114.114.114"))
```

Output:

{'area': '对方和您在同一内部网', 'country': '局域网'}
{'area': '信风网络科技有限公司公众DNS服务器', 'country': '江苏省南京市'}

Project details


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