{"library":"pygeoip","title":"pygeoip","description":"Pure Python GeoIP API for MaxMind databases. Current version 0.3.2, last released in 2017. Unmaintained, no longer recommended. Use geoip2 instead.","language":"python","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["pip install pygeoip"],"cli":null},"imports":["import pygeoip\ngeoip = pygeoip.GeoIP('GeoIP.dat')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import pygeoip\n\ngi = pygeoip.GeoIP('GeoIP.dat', flags=pygeoip.MEMORY_CACHE)\nprint(gi.country_code_by_name('google.com'))  # 'US'","lang":"python","description":"Basic country lookup using a GeoIP database file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}