ay ip parse.
Project description
qy ip parse
qy ip parse.
Installing
Install and update using pip
:
$ pip install -U Qy-Ip-Parse
A Simple Example
import time
from qy_ip_parse import IpIp
from qy_ip_parse import IpParse
IpIp.init(
db_name='ip.ipdb',
oss_config={
"access_key": "", "access_secret": "",
"endpoint": "", "bucket_name": "",
"oss_ip_db_object": ''
}
)
start = time.time()
a = IpParse('IP地址')
print(a.parse())
print(time.time()-start)
print(a.parse())
print(time.time() - start)
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
qy_ip_parse-0.0.1.tar.gz
(2.7 kB
view hashes)