Skip to main content

Python Wrapper for Have I Been Pwned API

Project description

PwnedPy

A Python Wrapper for the Have I Been Pwned API

Initialisation

import PwnedPy

or

import PwnedPy as pp

Functions

Function Optional Values Required Values Example Output
getAllBreaches domain None breaches = PwnedPy.getAllBreaches(domain="adobe.com") JSON
getBreaches Truncated and Unverified account breaches = pp.getBreaches("navanchauhan@gmail.com", Truncated=True, Unverified=True) JSON
getBreachesByDomain Truncated and Unverified account and domain breaches = PwnedPy.getBreachesByDomain("navanchauhan@gmail.com", domain="dubsmash.com") JSON
getPastes None account breaches = pp.getPastes("navanchauhan@gmail.com") JSON

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PwnedPy-1.0.2019.5-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file PwnedPy-1.0.2019.5-py3-none-any.whl.

File metadata

  • Download URL: PwnedPy-1.0.2019.5-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for PwnedPy-1.0.2019.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9110bc8bcb78b3de2bfa0d6c7a3a1d1fc9770e3a2cfdba8940c1f1198b8676
MD5 3211b3e9755d1fd7a827a1904dff9cc2
BLAKE2b-256 c8f830f8e92ac0f8fd876fd43511d1e5eca96b04b70574501ace8170ad0a099e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page