Did I find the right examples for you? yes no

All Samples(94)  |  Call(0)  |  Derive(0)  |  Import(94)
Pure Python GeoIP API

The API is based on MaxMind's C-based Python API, but the code itself is
ported from the Pure PHP GeoIP API by Jim Winstead and Hans Lellelid.

@author: Jennifer Ennis <zaylea@gmail.com>

@license: Copyright(C) 2004 MaxMind LLC

This program is free software: you can redistribute it and/or modify(more...)

src/v/i/Violent-Python-Examples-HEAD/Chapter-4/4-googleEarthPcap.py   Violent-Python-Examples(Download)
#!/usr/bin/python
# -*- coding: utf-8 -*-
import dpkt
import socket
import pygeoip

src/v/i/Violent-Python-Examples-HEAD/Chapter-4/3-geoPrint.py   Violent-Python-Examples(Download)
#!/usr/bin/python
# -*- coding: utf-8 -*-
import dpkt
import socket
import pygeoip

src/v/i/Violent-Python-Examples-HEAD/Chapter-4/1-geoIP.py   Violent-Python-Examples(Download)
#!/usr/bin/python
# -*- coding: utf-8 -*-
import pygeoip
gi = pygeoip.GeoIP('/opt/GeoIP/Geo.dat')
 

src/f/l/flyscript-portal-HEAD/rvbd-portal/rvbd_portal/apps/report/modules/maps.py   flyscript-portal(Download)
from collections import namedtuple
 
import pygeoip
from pygeoip.util import ip2long
 

src/f/l/flyscript-portal-HEAD/rvbd-portal/rvbd_portal/apps/report/geoip.py   flyscript-portal(Download)
from rvbd.profiler.filters import TimeFilter, TrafficFilter
 
import pygeoip
from pygeoip.util import ip2long
import json

src/f/l/flyscript-portal-HEAD/rvbd-portal/rvbd_portal/apps/geolocation/geoip.py   flyscript-portal(Download)
import threading
 
import pygeoip
from pygeoip.util import ip2long
from rvbd.common.utils import DictObject

src/d/m/dmirr-HEAD/src/dmirr.hub/dmirr/hub/lib/geo.py   dmirr(Download)
 
from django.conf import settings
from geopy import distance, geocoders
import pygeoip
 

src/a/b/abilian-core-0.1.4/abilian/web/admin/panels/login_sessions.py   abilian-core(Download)
from __future__ import absolute_import
 
import pygeoip
from flask import render_template
from abilian.services.auth.models import LoginSession

src/o/p/Open-Assembly-HEAD/ver1_0/openassembly/oa_location/templatetags/locationtags.py   Open-Assembly(Download)
from django.db.models import Count
 
import pygeoip
from settings import GEOIP_PATH
from geopy import geocoders 

src/l/e/leap.common-0.3.7/src/leap/common/__init__.py   leap.common(Download)
 
try:
    import pygeoip
    HAS_GEOIP = True
except ImportError:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next