Socket
Socket
Sign inDemoInstall

wgrep

Package Overview
Dependencies
3
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wgrep

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


Maintainers
1

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc