[ANN] ip2cc-0.3: now it works with Python 2.3 (original) (raw)
Denis S. Otkidach ods@strana.ru
Tue, 27 Jan 2004 18:46:02 +0300 (MSK)
- Previous message: ANN: soprano 0.05
- Next message: Call for Participation: PyCon DC 2004 Sprints
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ip2cc: Lookup country country by IP address
===========================================WHAT IS IT
If you want to gather web statistics by countries (not by top-level domains) or implement targeting, here is solution: ip2cc. This module allows to resolve country from IP address.
USAGE
update.py - build/update database ip2cc.py
- print country name for which is registered For example: $ ./ip2cc.py python.org python.org (194.109.137.226) is located in NETHERLANDS $ ./ip2cc.py google.com.ru google.com.ru (216.239.33.100) is located in UNITED STATESModule can be used as CGI.
WHERE TO GET
Homepage: http://ppa.sf.net/#ip2cc Download: http://prdownloads.sf.net/ppa/ip2cc-0.3.tar.gz?download
LICENSE
Python-style
ACKNOWLEDGEMENTS
Jason R. Mastaler Fredrik Lundh
CHANGES
0.3 - Due to bug in bsddb module (http://python.org/sf/788421) it's rewriten to use very simple own database.
0.2 - Adopted to new format of registrars. - Added LACNIC to sources. - Fixed contry code map and added -check option to simplify maintainance.
0.1 Initial release
-- Denis S. Otkidach http://www.python.ru/ [ru]
- Previous message: ANN: soprano 0.05
- Next message: Call for Participation: PyCon DC 2004 Sprints
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]