IP2Location Python Library UserPageVisits:367 active 80 80 DaniWeb 561 60 2006-12-04T10:40:10+00:00 https://www.daniweb.com/programming/software-development/code/216838/ip2location-python-library

IP2Location Python Library


This module is a Python Library to support all IP2Location™ database products. It has been optimized for speed and memory utilization. Developers can use the API to qeury all IP2Location™ binary databases for applications written in Python.

About the Author
code snippet
import IP2Location;

IP2LocObj = IP2Location.IP2Location();
rec = IP2LocObj.get_all("");

print rec.country_short
print rec.country_long
print rec.region
print rec.city
print rec.isp
print rec.latitude
print rec.longitude
print rec.domain
print rec.zipcode
print rec.timezone
print rec.netspeed
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.