跳转到主要内容

MaxMind GeoIP旧版数据库 - Python API

项目描述

需求

  • Python 2.5+ 或 3.3+

  • GeoIP C库 1.4.7 或更高版本

安装

使用 pip

$ pip install GeoIP

从源代码

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

用法

请参阅“examples”文件夹中的示例。

故障排除

如果您收到“libGeoIP.so.1: cannot open shared object No such file or directory”错误,请将/usr/local/lib添加到/etc/ld.so.conf,然后运行/sbin/ldconfig /etc/ld.so.conf

许可证

版权 (c) 2014 MaxMind LLC

版权所有。本软件包是免费软件;它根据LGPL 2.1或更高版本授权。

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪一个,请了解更多关于 安装软件包 的信息。

源代码分发

GeoIP-1.3.2.tar.gz (20.1 kB 查看哈希值)

上传时间: 源代码

由以下支持