Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

Overview

TabGeo - a special geolocation database to determine country of the user according to his IP-address. Due to the unique architecture of the database and the binary format, TabGeo performs 2-4 times faster on real projects than similar free alternatives

TabGeo - the best solution for the IP-geolocation live.

This module based on origial PHP version from http://tabgeo.com This python implementation licensed under GNU Affero General Public License v3.0, available from PyPI, the source code can be found on GitHub.

In case of issues please open ticket here https://github.com/nimda7/tabgeo/issues

Installation

Through PyPI:

$ pip install tabgeo

Usage:

Example usage:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tabgeo, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size tabgeo-0.3.tar.gz (553.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page