Python code for GeoIP2 webservice client and database reader