Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wgrep

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wgrep

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

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc