Skip to main content

Parse whois data into program-readable formats (like JSON, XML, TOML, etc.)

Project description

Whois Grep

Gather whois information of a website into a file format that can be parsed into pretty much any programming language.

Installation

Simply install this package using pip:

$ pip install wgrep

Usage

This package is pretty easy to use, simply import wgrep and call the converter function (it has the format as_{choosen format}) passing the link of the website to get the whois information as an argument. Like this:

import wgrep

data_json = wgrep.as_json('www.somewebsite.com')
data_xml = wgrep.as_xml('www.somewebsite.com')
data_toml = wgrep.as_toml('www.somewebsite.com')

Currently supported output formats

  • json
  • csv
  • toml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wgrep-1.0.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

wgrep-1.0.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page