Skip to main content

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.

Source Distribution

tabgeo-0.3.tar.gz (553.7 kB view details)

Uploaded Source

File details

Details for the file tabgeo-0.3.tar.gz.

File metadata

  • Download URL: tabgeo-0.3.tar.gz
  • Upload date:
  • Size: 553.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tabgeo-0.3.tar.gz
Algorithm Hash digest
SHA256 56b0e901d2b0b5520bc190d74a1f8ba62d1c8c48272b0d4e8c4b42f7ceb5efbe
MD5 63074f6a2684d6cf07f244f48a8366bc
BLAKE2b-256 29f0b3063674fc0fc0cd950755c6af5820b5a0d89923857635f998f4ca6cc548

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page