This project is no longer supported. Please consider using Maxmind's GeoIP2 Python API.
This library is based on Maxmind's GeoIP C API.
Tested with Python version 2.6, 2.7, 3.2, 3.3 and 3.4.
You can easily install pygeoip from PyPi.
pip install pygeoip
For more information, check out the documentation over at Read the Docs.