This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
forked from maxmind/geoip-api-python
-
Notifications
You must be signed in to change notification settings - Fork 10
GeoIP Python API
License
Instagram/geoip-api-python
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Requirements:
Python 2.0 or greater
GeoIP C Library 1.4.7 or greater
To Install:
python setup.py build
python setup.py install
Usage:
See test.py for example usage with GeoIP Country
See test_org.py for example usage with GeoIP ISP and Organization
See test_domain.py for an example of GeoIP Domain usage
See test_city.py for example usage with GeoIP City
See test_region.py for example usage with GeoIP Region
See test_netspeed.py for example usage with GeoIP Netspeed
See test_v6.py for example usage with GeoIP v6 Country Database
See test_city_acc.py for example usage with GeoIP Confidence and Accuracy Database
Troubleshooting:
If you get a "libGeoIP.so.1: cannot open shared object No such file or
directory" error, add /usr/local/lib to /etc/ld.so.conf then run
/sbin/ldconfig /etc/ld.so.conf
License:
Copyright (c) 2010 MaxMind LLC
All rights reserved. This package is free software; it is licensed
under the LGPL.
About
GeoIP Python API
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 82.0%
- Python 18.0%