Skip to main content

IP2Location.io Python SDK

PyPI - Version PyPI - Python Version

This Python module enables user to query for an enriched data set, such as country, region, city, latitude & longitude, ZIP code, time zone, ASN, ISP, domain, net speed, IDD code, area code, weather station data, MNC, MCC, mobile brand, elevation, usage type, address type, advertisement category, fraud score and proxy data with an IP address. It supports both IPv4 and IPv6 address lookup.

In addition, this module provides WHOIS lookup api that helps users to obtain domain information, WHOIS record, by using a domain name. The WHOIS API returns a comprehensive WHOIS data such as creation date, updated date, expiration date, domain age, the contact information of the registrant, mailing address, phone number, email address, nameservers the domain is using and much more.

There is also a Hosted Domain API that allowing users to get the list of hosted domain names by IP address in real time. The REST API supports both IPv4 and IPv6 address lookup.

This module requires API key to function. You may sign up for a free API key at https://www.ip2location.io/pricing.

Developer Documentation

To learn more about installation, usage, and code examples, please visit the developer documentation at https://ip2location-io-python.readthedocs.io/en/latest/index.html.

LICENCE

See the LICENSE file.

Metadata

Release files for ip2location-io 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ip2location-io 1.1.0
File Size Uploaded
ip2location_io-1.1.0.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ip2location-io 1.1.0
File Interpreter ABI Platform
ip2location_io-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / ip2location_io-1.1.0.tar.gz

Download URL ip2location_io-1.1.0.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
67fd560f8709a6ac799d2fa3363ca7063d7a099aa6414d29e1157a42fe46484f
BLAKE2b-256 checksum
How to use checksums
f2eaba1e34742931c2a8e82be2c42c6f138085bf7cde53bab020ba4218d4b1ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / ip2location_io-1.1.0-py3-none-any.whl

Download URL ip2location_io-1.1.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b703f51f86c76d158e2b1f3d93e5c6fc04a063f45e6f35eb8516cc952de1088
BLAKE2b-256 checksum
How to use checksums
d81fd07c9a5c9cb0de7f58db7b93991fa2bc23642c0ac3fb2894618b14a0cdce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page