Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50531
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; '1100': 0.09; 'lookup': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sure,': 0.09; 'suggest': 0.14; 'periods': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thought.': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'successful,': 0.19; '(the': 0.22; 'import': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; 'am,': 0.29; 'google,': 0.29; 'especially': 0.30; 'too.': 0.31; 'probably': 0.32; 'but': 0.35; 'there': 0.35; 'done': 0.36; 'east': 0.36; 'too': 0.37; 'being': 0.38; 'stable': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'users': 0.40; 'even': 0.60; 'read': 0.60; 'identify': 0.61; 'facebook': 0.61; 'address': 0.63; 'name': 0.63; 'relatively': 0.65; 'city': 0.66; '8bit%:100': 0.72; 'carefully': 0.74; 'details...': 0.84; 'longitude': 0.84; 'off,': 0.84; 'visitors.': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dave Angel <davea@davea.name> |
| Subject | Re: GeoIP2 for retrieving city and region ? |
| Date | Fri, 12 Jul 2013 11:32:27 -0400 |
| References | <krp37d$jt$2@news.grnet.gr> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 174.32.174.30 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
| In-Reply-To | <krp37d$jt$2@news.grnet.gr> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4638.1373643167.3114.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1373643167 news.xs4all.nl 15969 [2001:888:2000:d::a6]:36319 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:50531 |
Show key headers only | View raw
On 07/12/2013 10:18 AM, Νικόλας wrote:
> Hello, iam still looking for a way to identify the city of my website
> visitors.
>
<SNIP>
>
>
> I cant even import the module even though my 'pip install geopip2' wa
> successful
Either it wasn't successful, or it's not the package you thought. There
are lots of things you might have downloaded, but since you give no
details...
>
> There is definately i way to identify the users location based solely on
> its ip address as this site does it: http://www.geoiptool.com/
>
Sure, and as long as you don't mind it being 1000 miles off, you too can
claim to do it too. When I go to that site, the little pin is in
Kansas, which is 1100 miles from where I live on the east coast of the US.
> Google, MS, facebook and twitter are not the only ones that can do it?
>
> Perhaps this is being done by giving longitude and latitude?
Or by reading the mind of the programmer.
I suggest you read that geoiptool site, in particular the page
http://www.geoiptool.com/en/ip_info/
There is some misinformation, but notice carefully the part about
dynamic IP addresses. Probably 99% of the individual users on the web
(the ones using a browser) have dynamic IP addresses. The fixed ones
are needed by servers, and especially for DNS use, where the name lookup
wants to be stable for relatively log periods of time.
--
DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 17:18 +0300
Re: GeoIP2 for retrieving city and region ? Dave Angel <davea@davea.name> - 2013-07-12 11:32 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 18:52 +0300
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 19:32 +0300
Re: GeoIP2 for retrieving city and region ? Grant Edwards <invalid@invalid.invalid> - 2013-07-12 16:38 +0000
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:47 +1000
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-12 19:04 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:48 +0300
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 15:53 +1000
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:07 +0300
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 16:22 +1000
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:28 +0300
Re: GeoIP2 for retrieving city and region ? Lele Gaifax <lele@metapensiero.it> - 2013-07-13 10:12 +0200
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:48 -0400
Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 12:59 -0400
Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:35 -0500
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 10:36 +1000
Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 19:42 -0400
Re: GeoIP2 for retrieving city and region ? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-12 11:19 -0600
Re: GeoIP2 for retrieving city and region ? Terry Reedy <tjreedy@udel.edu> - 2013-07-12 18:07 -0400
Re: GeoIP2 for retrieving city and region ? MRAB <python@mrabarnett.plus.com> - 2013-07-12 23:07 +0100
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:32 +0300
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:54 -0400
Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 13:09 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 20:43 +0300
Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:19 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:23 +0300
Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:30 -0400
Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-13 16:57 -0600
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-16 22:43 +0300
Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-16 15:51 -0400
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-16 20:51 -0400
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-17 10:58 +1000
Re: GeoIP2 for retrieving city and region ? Tim Chase <python.list@tim.thechases.com> - 2013-07-14 13:32 -0500
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 14:21 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:28 +0300
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 09:12 +1000
Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:46 -0500
Re: GeoIP2 for retrieving city and region ? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-07-13 11:17 -0700
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-15 16:25 +0300
Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-15 20:34 -0400
Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-15 20:48 -0600
Re: GeoIP2 for retrieving city and region ? alex23 <wuwei23@gmail.com> - 2013-07-17 10:07 +1000
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 03:03 +1000
Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-12 16:15 -0600
Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 12:24 -0400
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 08:18 +0300
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 15:24 +1000
Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 10:51 +0300
Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:41 +1000
csiph-web