Skip to main content

All Whois

Build Status codecov Platform PyPI - Python Version GitHub license

A Python package for retrieving WHOIS information of domains.

Description/Features

  • Python wrapper for Linux "whois" command
  • Get parsed & raw WHOIS data for a given domain
  • Extract data for any TLD.
  • No TLD regex's
  • Date's as datetime objects or strings
  • Caching of results

Requirements

  • Python 3.6+

Support for python 3.6+ only. Works on macos & linux only

Issues

If there is something that is not parsing well, open a issue, and i will look into it. Or if you fixed it, do make a pull request, and i can merge it.

Installation

pip install allwhois

Pre-requisite installation

  • macOS
brew install whois
  • Linux
apt install whois

Usage

import sys
from allwhois import whois
from pprint import pprint

if __name__ == "__main__":
    domain = None
    try:
        domain = sys.argv[1]
    except:
        exit(f"Usage: {sys.argv[0]}  <domain_name>")

    response = whois.query(domain)
    pprint(response)

Authors:

Metadata

Release files for allwhois 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allwhois 1.0.0
File Size Uploaded Provenance Actions
allwhois-1.0.0.tar.gz 20.2 kB Without provenance Details for allwhois-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for allwhois 1.0.0
File Interpreter ABI Platform Actions
allwhois-1.0.0-py3-none-any.whl Python 3 none any Details for allwhois-1.0.0-py3-none-any.whl

Total release size: 41.8 kB

Release files / allwhois-1.0.0.tar.gz

Download URL allwhois-1.0.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e6f63426ba7f0d5b7a310f067195de8d0b6f09b318a656fc424f934ca1eb41a5
BLAKE2b-256 checksum
How to use checksums
a41bc85e6d4cabea224d75c3dcc1be53c90224e881a2f287f1dd098e1bcaa9fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.3

Release files / allwhois-1.0.0-py3-none-any.whl

Download URL allwhois-1.0.0-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7202aa31db33129259be79034445d128de2b8e9be5b828a9af33d208ce383f3
BLAKE2b-256 checksum
How to use checksums
f5d32ff2cba61f296551c5409fdc4d7776355e2fb44ed4998146365cbcf30042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.3

Security for allwhois 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page