# IP2Location Python Library

![PyPI](https://img.shields.io/pypi/v/IP2Location)
![PyPI - Downloads](https://img.shields.io/pypi/dm/IP2Location)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ip2location)


This is a [IP2Location](https://www.ip2location.com/) Python library that enables the user to find the country, region or state, district, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, MNC, MCC, mobile brand, elevation, usage type, address type, IAB category and ASN by IP address or hostname originates from. The library reads the geo location information from **IP2Location BIN database**.

Supported IPv4 and IPv6 address.

## Table of contents
 ```{eval-rst}
 .. toctree::

   self
   quickstart
   code
 ```