kisspwn

https://img.shields.io/pypi/v/kisspwn.svg https://img.shields.io/travis/khast3x/kisspwn.svg Documentation Status Updates

Simple haveibeenpwned Python Class to use throttle friendly requests in your code

Features

  • Very Simple
  • Only uses the python requests lib
  • Respects the API throttling time, limiting API calls and helps avoid reaching call limit
  • Includes the following object variables:
    • services : List of services if mail is breached
    • pwned : bool True is pwned, False if not or unconfirmed
    • rate : float Throttling rate in seconds, default is HIBP friendly (1.3s)
    • email : str of target email

Stable release

To install kisspwn, run this command in your terminal:

Usage example below uses python 3.6

$ pip3 install kisspwn
$ pip install kisspwn

This is the preferred method to install kisspwn, as it will always install the most recent stable release.

Usage

To use, simply import the Checkemail class like so.

>>> from kisspwn import checkemail
>>> t = checkemail.Checkemail("test@example.com")
>>> t.pwned
True
>>> t.status()
test@example.com pwned in 54 breaches
['000webhost', '7k7k', 'Adobe', ...]

Demo

https://i.imgur.com/7G8XUQ5.gif