Skip to content

jlopez/maxmind-geoip

Repository files navigation

Requirements:
	Python 2.0 or greater
	GeoIP C Library 1.4.8 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_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

Source for MaxMind's GeoIP-Python to install via pip

Resources

License

Stars

Watchers

Forks

Packages

No packages published