This module is a Python Library that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage types, address type and IAB category that any IP address or host name originates from.
This is a IP2Location Python library that enables the user to find the country, region or state, city, latitude and longitude, ZIP code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, usage type, address type and IAB category by IP address or hostname originates from.
This library reads geo-location information from the IP2Location BIN database file and supports lookup for both IPv4 and IPv6 addresses.
To learn more about installation, usage, and code examples, please visit the developer documentation at https://ip2location-python.readthedocs.io/en/latest/index.html.
To use this library, you must download the IP2Location BIN database.
Below are general guidelines for determining whether to use the IPv4 BIN database or the IPv6 BIN database.
To learn about other readily available SDKs or libraries for different programming languages, please visit https://www.ip2location.com/development-libraries.
Email: [email protected]