IP2Location Python Library 17 Years Ago IP2Location 0 Tallied Votes 590 Views Share 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. python 0 0 Share import IP2Location; IP2LocObj = IP2Location.IP2Location(); IP2LocObj.open("data/IP-COUNTRY-SAMPLE.BIN"); rec = IP2LocObj.get_all("188.8.131.52"); 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 the first to reply Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!