hibpwned
A friendly, low-level, fully functional, Python API wrapper for haveibeenpwned.com
All data sourced from https://haveibeenpwned.com
Visit https://haveibeenpwned.com/API/v3 to read the Acceptable Use Policy
for rules regarding acceptable usage of this API.
Installation
pip install hibpwned
Making calls to the HIBP API requires a key. You can purchase an HIBP-API-Key at
https://haveibeenpwned.com/API/Key
Usage
This module contains the class Pwned with functions:
searchAllBreaches
allBreaches
singleBreach
dataClasses
searchPastes
searchPassword
searchHashes
All functions return a JSON object containing relevent data, with the exception
of searchPassword and searchHashes, which returns an integer and a string object,
respectively.
See module DocStrings for function descriptions and parameters
Examples
import hibpwned
myApp = hibpwned.Pwned('test@example.com', 'My_App', 'My_API_Key')
myBreaches = myApp.searchAllBreaches()
Breaches = myApp.allBreaches()
adobe = myApp.singleBreach('adobe')
data = myApp.dataClasses()
myPastes = myApp.searchPastes()
password = myApp.searchPassword('BadPassword')
myHashes = myApp.searchHashes('21BD1')
Release files for hibpwned 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hibpwned-1.1.8.tar.gz | 7.4 kB | Details |
Release files / hibpwned-1.1.8.tar.gz
| Download URL | hibpwned-1.1.8.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec076196eccc549017f00ef4bfb27df604cc1138a130019617d72aa57f6d6865
|
|
BLAKE2b-256 checksum How to use checksums |
f3f11a43a7a239370e8c15b82119607b3a2e144c40875fec4c0ee09027c7927f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
|