File: README.rst

package info (click to toggle)
python-geoip 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 344 kB
  • sloc: ansic: 753; python: 248; makefile: 5
file content (45 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
=========================================
MaxMind GeoIP Legacy Python Extension API
=========================================

Requirements
------------

* Python 2.5+ or 3.3+
* GeoIP C Library 1.4.7 or greater

Installation
------------

With `pip`:

.. code-block:: bash

    $ pip install GeoIP

From source:

.. code-block:: bash

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

Usage
-----

See the examples in the ``examples`` folder.

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

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