| Home | Trees | Indices | Help |
|
|---|
|
|
Entropy geo-tagging interface containing useful methods to ease metadata management and transformation. It's a wrapper over GeoIP at the moment dev-python/geoip-python required.
Sample code:
>>> geo = EntropyGeoIp("mygeoipdb.dat") >>> geo.get_geoip_record_from_ip("123.123.123.123") { dict() metadata }
| Instance Methods | |||
|
|||
| string or None |
|
||
| string or None |
|
||
| dict |
|
||
| dict |
|
||
| Method Details |
EntropyGeoIP constructor.
|
Get country name from IP address.
|
Get country code from IP address.
|
Get GeoIP record from IP address.
|
Get GeoIP record from hostname.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 5 16:58:56 2009 | http://epydoc.sourceforge.net |