SkillAgentSearch skills...

Hibpwned

Python API wrapper for haveibeenpwned.com (API v3)

Install / Use

/learn @plasticuproject/Hibpwned
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

build Python 3.11 License: LGPL v3 PyPI version Downloads Coverage Status CodeQL Quality Gate Status Security Rating

hibpwned

A friendly, low-level, fully functional, Python API wrapper for haveibeenpwned.com <br/> All data sourced from https://haveibeenpwned.com <br/> Visit https://haveibeenpwned.com/API/v3 to read the Acceptable Use Policy <br/> for rules regarding acceptable usage of this API. <br/>

Installation

pip install hibpwned

Making calls to the HIBP API requires a key. You can purchase an HIBP-API-Key at <br/> https://haveibeenpwned.com/API/Key

Usage

This module contains the class Pwned with functions: <br/>

search_all_breaches <br/> all_breaches <br/> single_breach <br/> data_classes <br/> search_pastes <br/> search_password <br/> search_hashes <br/>

All functions return a list of JSON objects containing relevent data, with the exception <br/> of search_password and search_hashes, which returns an integer and a string object, <br/> respectively. <br/>

See module DocStrings for function descriptions and parameters <br/>

Examples

import hibpwned

my_app = hibpwned.Pwned("test@example.com", "My_App", "My_API_Key")

my_breaches = my_app.search_all_breaches()
breaches = my_app.all_breaches()
adobe = my_app.single_breach("adobe")
data = my_app.data_classes()
my_pastes = my_app.search_pastes()
password = my_app.search_password("BadPassword")
my_hashes = my_app.search_hashes("21BD1")

Related Skills

View on GitHub
GitHub Stars40
CategoryDevelopment
Updated5d ago
Forks7

Languages

Python

Security Score

95/100

Audited on Apr 3, 2026

No findings