The script requires Python 2.3 or above, Psycopg2 and an existing Postgre SQL database.
The CSV dataset is composed of two tables, the Before attempting to load the data into Postgre SQL you should look at performance numbers below and decide which access method is best for your application.
There is a set of APIs for accessing the Geo IP binary data, and two different methods for storing the information inside Postgre SQL.
Sure it is only one extra click, but there really is no reason why the correct version of a corporate site or mirror can not be pre-select and the user provided with an option to pick an alternative.
So how does one go about getting the user's geographic location based on their IP?