Skip to main content

A package for utilising the Haveibeenpwned API

Project description

PyPI PyPI - License

chibp

A package for interacting with the Haveibeenpwned API

Install package:

pip install chibp

Import the package:

import chibp

Example string request:

chibp.get("example@chrisdunne.net", API_KEY)

Example list request:

chibp.get(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)

Example full response:

chibp.get_full("example@chrisdunne.net", API_KEY)

Example list full response:

chibp.get_full(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)

Example get breaches:

chibp.get_breaches(API_KEY)

Example get breached site:

chibp.get_breach("MyFitnessPal", API_KEY)

Example get pastes for email:

chibp.get_pastes("example@chrisdunne.net", API_KEY)

Project details


Download files

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

Source Distribution

chibp-1.3.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

chibp-1.3.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file chibp-1.3.1.tar.gz.

File metadata

  • Download URL: chibp-1.3.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for chibp-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e99f81c2ae51eee3b10a74ed2ca0a71e8f9dc05b33f50c288aa1467f6ce2ed64
MD5 eef009cfceefee002a31867a67cda0bf
BLAKE2b-256 9b861ad6da40a8baa5028b925cd97d407f0a2000da8e893fe6a6d08312524745

See more details on using hashes here.

File details

Details for the file chibp-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: chibp-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for chibp-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb8c024f8f1cdbe32a2d58a2ec0313b9cdc3d3a58a4aebf51e117ff523d29c3
MD5 b43ddfce3f6f1cefdc2bff49558d37f8
BLAKE2b-256 946d45360924c8904b565cc5794932eb9c924980d96ab6e8ee5f3e5dd3fef9c3

See more details on using hashes here.

Supported by

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