This is an IP geolocation library that enables the user to find the country, region, city, latitude and longitude, ZIP code, time zone, ISP, domain name, area code, weather info, mobile info, elevation, usage type, address type and IAB category from an IP address. It supports both IPv4 and IPv6 lookup.
Project description
IP2Location 8.10.3
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.
Developer Documentation
To learn more about installation, usage, and code examples, please visit the developer documentation at https://ip2location-python.readthedocs.io/en/latest/index.html.
IP2Location BIN Databases
To use this library, you must download the IP2Location BIN database.
- Download Free IP2Location LITE databases at https://lite.ip2location.com
- Download IP2Location commercial databases at https://www.ip2location.com
IPv4 versus IPv6 BIN Database
Below are general guidelines for determining whether to use the IPv4 BIN database or the IPv6 BIN database.
- Use the IPv4 BIN database if you just need to query for IPv4 addresses.
- Use the IPv6 BIN database if you need to query for both IPv4 and IPv6 addresses.
SDK or Library for Other Programming Languages
To learn about other readily available SDKs or libraries for different programming languages, please visit https://www.ip2location.com/development-libraries.
Support
Email: support@ip2location.com
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
Built Distribution
File details
Details for the file ip2location-8.10.4.tar.gz
.
File metadata
- Download URL: ip2location-8.10.4.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395b3db260c0fa1de6b003808fdea144b0aa76ceed26c7a49de929b454e903c5 |
|
MD5 | 1083b1f7f6f504cca1545863f906fef4 |
|
BLAKE2b-256 | 5e50be1d6e47cd0c8f1deb7f49eb7664de697a195fa9ae4a2f325fc5e61bab20 |
File details
Details for the file IP2Location-8.10.4-py3-none-any.whl
.
File metadata
- Download URL: IP2Location-8.10.4-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4323b6a25c6afb29c2f2b0b8aca3c3d1868a0199b705afaded1174cdbd8dacef |
|
MD5 | 027a994e6e6875addbb1cc5d7173139b |
|
BLAKE2b-256 | 396fa1fe10410e0912f115a2d7245fcf0c5653a478d62b0e2b763246b6631553 |