• This repository has been archived on 05/Jan/2021
  • Stars
    star
    3
  • Rank 3,956,559 (Top 79 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python wrapper for bash whois command

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