Python wrapper for bash whois
command.
Supports Python 3.5, 3.6
pip install whoisp
from whoisp import whois
whois_data = whois('yandex.ru').parsed
whois_data.get('domain_name')
> ['YANDEX.RU']
whois_data.get('expiration_date')
> ['2017-09-30T21:00:00Z']
pip install -r requirements_test.txt
pytest
or
pip install tox
tox