Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Project Description


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 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


Through PyPI:

$ pip install tabgeo


Example usage:

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

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(553.7 kB) Copy SHA256 Hash SHA256
Source None Dec 10, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting