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': '江苏省南京市'}
--------
##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
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
File details
Details for the file ipv4ToLocation.py-0.0.9.tar.gz
.
File metadata
- Download URL: ipv4ToLocation.py-0.0.9.tar.gz
- Upload date:
- Size: 4.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80500a1b79291285e5f05fb065de37b021d8db3ce69caa870a93da78b927a617 |
|
MD5 | a9111da2bbd830ab31c98f02dbfa38af |
|
BLAKE2b-256 | b71e571873565db6e57b50c7b22b91f3e6b740799a54c12f267cc8528806d2ba |