Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python package to interact with http://haveibeenpwned.com

Project Description

PwnedCheck

Python package to interact with http://haveibeenpwned.com

Installation

$ pip install PwnedCheck

Usage

For a complete overview of the haveibeenpwned API please see https://haveibeenpwned.com/API.

All checks are done through the check method. This will check a single email address against the haveibeenpwned API and return a list of sites that the email address has been found on.

If the email address is not found in any of the data leaks, it will return an empty list ([]).

If the email address is invalid (not properly formatted), PwnedCheck will throw an InvalidEmail exception.

import pwnedcheck

print pwnedcheck.check(“foo@bar.com”)

You can also just pass a username into the check method. The haveibeenpwned.com API will search this username against the Snapchat leak.

v0.1.3, 2014-01-02 – Update documentation for Snapchat Username search v0.1.2, 2013-12-17 – Fixed documentation for PyPi v0.1.1, 2013-12-17 – Fixed typo in urllib2 import v0.1.0, 2013-12-17 – Initial release.

Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PwnedCheck-0.1.3.macosx-10.9-intel.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Jan 2, 2014
PwnedCheck-0.1.3.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting