Home | Trees | Indices | Help |
|
---|
|
Pure Python GeoIP API. The API is based off of MaxMind's C-based Python API, but the code itself is based on the pure PHP5 API by Jim Winstead and Hans Lellelid.
It is mostly a drop-in replacement, except the new
and
open
methods are gone. You should instantiate the GeoIP class
yourself:
gi = GeoIP('/path/to/GeoIP.dat',
pygeoip.MEMORY_CACHE)
Author: Jennifer Ennis <zaylea at gmail dot com>
License: Copyright(C) 2004 MaxMind LLC
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl.txt>.
|
|||
|
|
|||
GeoIPError | |||
GeoIPMetaclass | |||
GeoIPBase | |||
GeoIP |
|
|||
MMAP_CACHE = 8
|
|||
MEMORY_CACHE = 1
|
|||
STANDARD = 0
|
|||
__package__ =
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 20 17:58:04 2012 | http://epydoc.sourceforge.net |