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.
Metadata
Release files for PwnedCheck 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PwnedCheck-0.1.3.tar.gz | 2.5 kB | Without provenance | Details for PwnedCheck-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PwnedCheck-0.1.3.macosx-10.9-intel.tar.gz | Details for PwnedCheck-0.1.3.macosx-10.9-intel.tar.gz |
Total release size: 5.2 kB
Release files / PwnedCheck-0.1.3.tar.gz
| Download URL | PwnedCheck-0.1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fce0e7f611b1bfc5aa09dc10f52346b80656297cfa07c80f36c13de4ff81606
|
|
BLAKE2b-256 checksum How to use checksums |
2a9ec7b4d26057760a694ed63cb84f7eac034d19729d00eeca429c26fcd0e92a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PwnedCheck-0.1.3.macosx-10.9-intel.tar.gz
| Download URL | PwnedCheck-0.1.3.macosx-10.9-intel.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c3b420d1d052c51bb9fd771899f500a70343126da7c7a9af4a61a8aa6725b9f
|
|
BLAKE2b-256 checksum How to use checksums |
8f435a13e466e2d6f8c67fa06c3107eb15b84b4173740f13259e36ee9ee59675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PwnedCheck 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.