Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

amureki/whoisp

Repository files navigation

whoisp

Travis Version GitHub license

Python wrapper for bash whois command. Supports Python 3.5, 3.6

Installation

pip install whoisp

Usage

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']

Testing

pip install -r requirements_test.txt
pytest

or

pip install tox
tox