Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50137

Re: Geo Location extracted from visitors ip address

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.368
X-Spam-Level ***
X-Spam-Evidence '*H*': 0.30; '*S*': 0.04; 'statistical': 0.09; 'utilizing': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'specific,': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'user.': 0.19; '>>>': 0.22; 'tells': 0.24; 'header:In-Reply-To:1': 0.27; 'leave': 0.29; 'am,': 0.29; 'generally': 0.29; 'tim': 0.29; 'said,': 0.30; 'message- id:@mail.gmail.com': 0.30; 'usually': 0.31; 'away.': 0.31; 'extract': 0.31; 'actual': 0.34; 'subject:from': 0.34; 'could': 0.34; 'basic': 0.35; 'possible.': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'addresses,': 0.36; 'in.': 0.36; 'possible': 0.36; 'being': 0.38; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'though,': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'even': 0.60; 'analysis,': 0.60; 'dave': 0.60; 'house.': 0.60; "you're": 0.61; 'address': 0.63; 'more': 0.64; 'different': 0.65; 'city': 0.66; 'side': 0.67; 'internet': 0.71; 'further,': 0.74; 'jul': 0.74; 'address,': 0.75; 'country': 0.77; 'geo': 0.84; 'geolocation': 0.84; "isp's": 0.84; 'subject:Location': 0.84; 'visits': 0.84; 'angel': 0.91; 'tomorrow': 0.95; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=x670eOpbDyFe78iDSG5ma1g7MQZILOC8EhlXskD6Qms=; b=Pu0aFGjNkHCK1d2vuTzwS5k6k+v1PN9Hr/zutHdg+iaeE3XHJw/7N/77xbSOmhFYxX 08a4lpENi5UBhfI8e1rwi7C2rHxOMDJioNZSFibJLdisR/Q1shlm91tBvkqEgBve9F/z X6Kr8MlHyf8s6ygKTZZ/L19N7qpwZxBaAzanuqsYe2bX4qtnbJWlAtZ0d89CX3OzSfGh xQ7TGvRjDwLkUZ5s7gJYzteDq5McQ+bNnZf8OfziC7RwmZPA3bMhAbj4wFwTdsja/8MG TPUc+4bPVGyDaBASlmbWES4yc9ZXXir64BMNkayao933ohSwntrmYBqGgaAso5nBOezh tf+g==
MIME-Version 1.0
X-Received by 10.220.128.72 with SMTP id j8mr8465427vcs.3.1373072793948; Fri, 05 Jul 2013 18:06:33 -0700 (PDT)
In-Reply-To <kr7d67$6u6$1@ger.gmane.org>
References <kr75jj$eqv$1@news.grnet.gr> <ksbet89js4m2tq75tvrrltj808h19e3rb9@4ax.com> <kr7d67$6u6$1@ger.gmane.org>
Date Sat, 6 Jul 2013 11:06:33 +1000
Subject Re: Geo Location extracted from visitors ip address
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-Mailman-Approved-At Mon, 08 Jul 2013 11:22:35 +0200
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.4372.1373275356.3114.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373275356 news.xs4all.nl 15879 [2001:888:2000:d::a6]:48014
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50137

Show key headers only | View raw


On Sat, Jul 6, 2013 at 7:18 AM, Dave Angel <davea@davea.name> wrote:
> On 07/05/2013 04:44 PM, Tim Roberts wrote:
>>
>> ????? Gr33k <nikos@superhost.gr> 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?
>>
>>
>> It is possible to look up the geographic region associated with a block of
>> IP addresses.  That does not necessarily bear any resemblence to the
>> actual
>> location of the user.  It tells you the location of the Internet provider
>> that registered the IP addresses.
>>
>
> To be more specific, the last time I checked, my IP address is registered to
> a location over 1000 miles away.  And it's not a dedicated IP address, so it
> could very well be used tomorrow by someone 200 nmiles the other side of the
> registered location.
>
> Further, I sometimes use other ISP's with different addresses, even when I
> don't leave the house.  And once I leave, anything's possible.

That said, though, geolocation is usually accurate enough to report
which country you're in. For basic statistical analysis, that's
generally sufficient.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-05 22:08 +0300
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 14:58 -0500
    Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:55 +0300
      Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:58 +0300
        Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 03:08 +0300
          Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 20:56 -0400
            Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:10 +0300
              Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:41 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:01 +0300
                Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 18:30 +1000
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:41 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 06:20 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:14 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:32 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:51 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-07 12:40 +0300
                Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-06 07:49 -0400
                Re: Geo Location extracted from visitors ip address Robert Kern <robert.kern@gmail.com> - 2013-07-06 11:21 +0100
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
              Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 21:31 -0400
              Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-05 22:52 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 10:10 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 10:43 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:12 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:33 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:49 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 18:36 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:59 +0300
  Re: Geo Location extracted from visitors ip address Tim Roberts <timr@probo.com> - 2013-07-05 13:44 -0700
    Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-05 17:18 -0400
    Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 11:06 +1000
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 17:21 -0500
  Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-05 22:24 +0000
  [OT] Re: Geo Location extracted from visitors ip address Tony the Tiger <tony@tiger.invalid> - 2013-07-06 13:23 -0500
  Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 15:23 -0400
  Re: Geo Location extracted from visitors ip address Jerry Hill <malaclypse2@gmail.com> - 2013-07-05 15:28 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:43 +0300

csiph-web