Python API for http://haveibeenpwned.com Checks if an email is in a recently released password dump.
To check a single email:
from pwned import check
check('[email protected]')
To check multiple emails at once:
check(['[email protected]','[email protected]'])
The result is returned as a dictionary. To run as a standalone script pass the emails as variables"
python pwned.py [email protected]