equal
deleted
inserted
replaced
4 - Create a simple importable Python module which will produce parsed |
4 - Create a simple importable Python module which will produce parsed |
5 WHOIS data for a given domain. |
5 WHOIS data for a given domain. |
6 - Able to extract data for all the popular TLDs (com, org, net, ...) |
6 - Able to extract data for all the popular TLDs (com, org, net, ...) |
7 - Query a WHOIS server directly instead of going through an |
7 - Query a WHOIS server directly instead of going through an |
8 intermediate web service like many others do. |
8 intermediate web service like many others do. |
9 - Works with Python 2.4+ and no external dependencies |
9 - Works with Python 2 & 3 |
10 |
10 |
11 |
11 |
12 |
12 |
13 Example |
13 Example |
14 ======= |
14 ======= |
35 Install |
35 Install |
36 ======= |
36 ======= |
37 |
37 |
38 Install from pypi: |
38 Install from pypi: |
39 |
39 |
40 .. sourcecode:: python |
40 .. sourcecode:: bash |
41 |
41 |
42 pip install python-whois |
42 pip install python-whois |
43 |
43 |
44 Or checkout latest version from repository: |
44 Or checkout latest version from repository: |
45 |
45 |
46 .. sourcecode:: python |
46 .. sourcecode:: bash |
47 |
47 |
48 hg clone https://bitbucket.org/richardpenman/pywhois |
48 hg clone https://bitbucket.org/richardpenman/pywhois |
|
49 |
|
50 Note that then you will need to manually install the futures module, which allows supporting both Python 2 & 3: |
|
51 |
|
52 |
|
53 .. sourcecode:: bash |
|
54 |
|
55 pip install futures |
|
56 |
49 |
57 |
50 |
58 |
51 |
59 |
52 Changelog |
60 Changelog |
53 ========= |
61 ========= |
|
62 |
|
63 0.6 - 2015-03-02: |
|
64 |
|
65 * support added for python 3 |
|
66 * updated TLD list |
54 |
67 |
55 0.5 - 2015-09-05: |
68 0.5 - 2015-09-05: |
56 |
69 |
57 * added native client, which now handles whois requests by default |
70 * added native client, which now handles whois requests by default |
58 * added pretty formatting to string representation |
71 * added pretty formatting to string representation |