Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

carlosefr/geoip-api-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaxMind GeoIP Legacy Python Extension API

Requirements

  • Python 2.x
  • GeoIP C Library 1.4.7 or greater

Installation

With pip:

$ pip install GeoIP

From source:

$ python setup.py build
$ python setup.py install

Usage

See the examples in examples/.

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) 2013 MaxMind LLC

All rights reserved. This package is free software; it is licensed under the LGPL 2.1 or greater.

Packages

No packages published

Languages

  • C 73.9%
  • Python 26.1%