Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help

The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...

The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.

System Arch

RPM resource python-pygeoip

Pure Python GeoIP API based on MaxMind's C-based Python API but the code itself is ported from the Pure PHP GeoIP API. Create your GeoIP instance with appropriate access flag. `STANDARD` reads data from disk when needed, `MEMORY_CACHE` loads database into memory on instantiation and `MMAP_CACHE` loads database into memory using mmap. import pygeoip gi = pygeoip.GeoIP('/usr/share/geoip/GeoIP.dat', pygeoip.MEMORY_CACHE) Country lookup >>> gi.country_code_by_name('google.com') 'US' >>> gi.country_code_by_addr('64.233.161.99') 'US' >>> gi.country_name_by_addr('64.233.161.99') 'United States' City lookup >>> gi = pygeoip.GeoIP('/usr/share/geoip/GeoLiteCity.dat') >>> gi.record_by_addr('64.233.161.99') { 'city': 'Mountain View', 'region_name': 'CA', 'area_code': 650, 'longitude': -122.0574, 'country_code3': 'USA', 'latitude': 37.419199999999989, 'postal_code': '94043', 'dma_code': 807, 'country_code': 'US', 'country_name': 'United States' } >>> gi.time_zone_by_addr('64.233.161.99') 'America/Los_Angeles' For more information, check out the full API documentation at http://packages.python.org/pygeoip.

Found 1 sites for python-pygeoip

Found 4 RPM for python-pygeoip

PackageSummaryDistributionDownload
python-pygeoip-0.2.6-5.el7.noarch.htmlPure Python GeoIP APIEPEL 7 for ppc64lepython-pygeoip-0.2.6-5.el7.noarch.rpm
python-pygeoip-0.2.6-5.el7.noarch.htmlPure Python GeoIP APIEPEL 7 for aarch64python-pygeoip-0.2.6-5.el7.noarch.rpm
python-pygeoip-0.2.6-5.el7.noarch.htmlPure Python GeoIP APIEPEL 7 for ppc64python-pygeoip-0.2.6-5.el7.noarch.rpm
python-pygeoip-0.2.6-5.el7.noarch.htmlPure Python GeoIP APIEPEL 7 for x86_64python-pygeoip-0.2.6-5.el7.noarch.rpm

Generated by rpm2html 1.6

Fabrice Bellet