Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 328 Bytes

File metadata and controls

23 lines (14 loc) · 328 Bytes

tabgeo

Geolocation database to determine country code (ISO 3166-1 alpha-2) by IP

Installation

Through PyPI::

$ pip install tabgeo

From the project root directory::

$ python setup.py install

Usage:

Example usage::

>>> from tabgeo import getbyip
>>> print getbyip('8.8.4.4')
US