ods / ip2cc
Lookup country and Russia region by IP address Python module with script to create database from up-to-date official data.
| commit 20: | dd74b7e5d33a |
| parent 19: | 984969fb24a8 |
| branch: | default |
| tags: | release-0.5 |
Prepare for 0.5 release
ods
11 months ago
11 months ago
Changed (Δ290 bytes):
raw changeset »
README (8 lines added, 2 lines removed)
ip2cc.py (1 lines added, 2 lines removed)
ip2ru.py (1 lines added, 1 lines removed)
1 |
1 |
ip2cc: Lookup country country by IP address |
2 |
2 |
=========================================== |
3 |
3 |
|
4 |
(c) 2002 |
|
4 |
(c) 2002-2009 Denis S. Otkidach |
|
5 |
5 |
|
6 |
6 |
WHAT IS IT |
7 |
7 |
|
| … | … | @@ -14,6 +14,9 @@ USAGE |
14 |
14 |
update.py - build/update database |
15 |
15 |
ip2cc.py <address> - print country name for which |
16 |
16 |
<address> is registered |
17 |
update_ru.py - build/update database of Russia regions |
|
18 |
ip2ru.py <address> - print Russia region name for which |
|
19 |
<address> is registered |
|
17 |
20 |
For example: |
18 |
21 |
$ ./ip2cc.py python.org |
19 |
22 |
python.org (194.109.137.226) is located in NETHERLANDS |
| … | … | @@ -33,6 +36,9 @@ Fredrik Lundh |
33 |
36 |
|
34 |
37 |
CHANGES |
35 |
38 |
|
39 |
0.5 - ISO 3166-1 countries list is updated. Module to resolve Russia region |
|
40 |
added. |
|
41 |
||
36 |
42 |
0.4 - Added AfriNIC to sources. |
37 |
43 |
|
38 |
44 |
0.3 - Due to bug in bsddb module (http://python.org/sf/788421) it's |
| … | … | @@ -43,4 +49,4 @@ 0.2 - Adopted to new format of registrar |
43 |
49 |
- Fixed contry code map and added -check option to simplify |
44 |
50 |
maintainance. |
45 |
51 |
|
46 |
0.1 |
|
52 |
0.1 - Initial release |
