37 |
37 |
38 Install from pypi: |
38 Install from pypi: |
39 |
39 |
40 .. sourcecode:: bash |
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:: bash |
46 .. sourcecode:: bash |
47 |
47 |
48 hg clone https://bitbucket.org/richardpenman/pywhois |
48 $ hg clone https://bitbucket.org/richardpenman/pywhois |
49 |
49 |
50 Note that then you will need to manually install the futures module, which allows supporting both Python 2 & 3: |
50 Note that then you will need to manually install the futures module, which allows supporting both Python 2 & 3: |
51 |
51 |
52 |
52 |
53 .. sourcecode:: bash |
53 .. sourcecode:: bash |
54 |
54 |
55 pip install futures |
55 $ pip install futures |
56 |
56 |
|
57 Run test cases for python 2 & 3: |
57 |
58 |
|
59 .. sourcecode:: bash |
58 |
60 |
59 |
61 $ python -m unittest discover test |
60 Changelog |
62 ............. |
61 ========= |
63 ---------------------------------------------------------------------- |
62 |
64 Ran 13 tests in 0.812s |
63 0.6 - 2016-03-02: |
65 |
64 |
66 OK |
65 * support added for python 3 |
67 |
66 * updated TLD list |
68 $ python3 -m unittest discover test |
67 |
69 ............. |
68 0.5 - 2015-09-05: |
70 ---------------------------------------------------------------------- |
69 |
71 Ran 13 tests in 1.431s |
70 * added native client, which now handles whois requests by default |
72 |
71 * added pretty formatting to string representation |
73 OK |
72 * return None instead of raising KeyError when an attribute does not exist |
|
73 * new TLD's: .mobi, .io, .kg, .su, .biz |
|
74 |
|
75 0.4 - 2015-08-13: |
|
76 |
|
77 * new TLD's: .de, .nl, .ca, .be |
|
78 * migrated to bitbucket |
|
79 * added socket timeout |
|
80 |
|
81 0.3 - 2015-03-31: |
|
82 |
|
83 * improved datetime parsing with python-dateutil when available |
|
84 * base WhoisEntry class inherits from dict |
|
85 * fixed TLD's: .org, .info |
|
86 |
|
87 |
74 |
88 |
75 |
89 Problems? |
76 Problems? |
90 ========= |
77 ========= |
91 |
78 |