It works with GeoIP itself, and with the GeoLite open source databases.
Requirements:
· GeoIP C Library
· Python 2 or higher
What's New in This Release: [ read full changelog ]
· Add charset and set_charset methods , as well as the new attributes GeoIP.GEOIP_CHARSET_ISO_8859_1 and GeoIP.GEOIP_CHARSET_UTF8.
· Add test_city_charset.py script showing howto use charset and set_charset.
· Add last_netmask.
· Fix compile warnings.
· Fix small memoryleak in database_info, org_by_name and org_by_addr.
· Fix version number in setup.py.
· Remove dma_code from test_city.py example.
· Update test.py - replace www.government.de with www.bundestag.de. Add range_by_ip example.
· Add range_by_ip - returns largest start and stop ip for any ip. Remember to use a IP not a name.
· Add metro_code as a alias for the depreciated dma_code.
· Update test_city.py and test_region.py.
· Add region_name to GeoIPRegion.
· Add database_info and database_edition attributes to GeoIP object.
· Add region_name and time_zone keys to GeoIPRecord wrapper.
· Export the country list, country code -> country name mapping, and country->continent mapping.
· Raise country code counter from 251 to 253.
· Record_by_addr and record_by_name return None instead of throwing a
· exception. See test_city.py.
· Add a py_geoip.error Exception object.
· Export the country list, country code -> country name mapping, and country->continent mapping.
· Changed license to LGPL from GPL.