Geo Location extracted from visitors ip address
Support by Νίκος
nikos at superhost.gr
Fri Jul 5 15:59:00 EDT 2013
Στις 5/7/2013 10:58 μμ, ο/η Tim Chase έγραψε:
> On 2013-07-05 22:08, Νίκος Gr33k wrote:
>> Is there a way to extract out of some environmental variable the
>> Geo location of the user being the city the user visits out website
>> from?
>>
>> Perhaps by utilizing his originated ip address?
> Yep. You can get an 11MB database (17MB uncompressed)
>
> http://dev.maxmind.com/geoip/legacy/downloadable/
>
> which you can use to either populate an existing database with
> the .CSV data there, or use the binary data blob in concert with the
> Python API
>
> https://github.com/maxmind/geoip-api-python # Python + C
> http://pypi.python.org/pypi/pygeoip/ # pure Python
>
> Just be sure to adhere to the licensing terms.
>
> -tkc
>
>
>
>
>
Thank you ill take a look on
http://pypi.python.org/pypi/pygeoip/ # pure Python
i hope it will be easy!
--
Webhost <http://superhost.gr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130705/6d65a729/attachment.html>
More information about the Python-list
mailing list