haveibeenpywned
A simple Python wrapper for the Have I Been Pwned API.
Installation
Use the package manager pip to install haveibeenpywned.
pip install haveibeenpywned
Usage
from haveibeenpywned import Pywned
pywned = Pywned("your-hibp-api-key")
resp = pywned.get_all_breaches_names_for_account("email@address.com")
print(resp)
['8tracks', 'AbuseWithUs', 'AntiPublic', 'BlankMediaGames', 'Dubsmash', 'MySpace']
Links
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Authors
See also the list of contributors who participated in this project.
License
Creative Commons Attribution 4.0 International License
In other words, you're welcome to use the public API to build other services, but you must identify Have I Been Pwned as the source of the data . Clear and visible attribution with a link to haveibeenpwned.com should be present anywhere data from the service is used including when searching breaches or pastes and when representing breach descriptions. It doesn't have to be overt, but the interface in which Have I Been Pwned data is represented should clearly attribute the source per the Creative Commons Attribution 4.0 International License.
Acknowledgements
Metadata
Release files for haveibeenpywned 0.2.93
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 |
|---|---|---|---|---|
| haveibeenpywned-0.2.93.tar.gz | 3.9 kB | Without provenance | Details for haveibeenpywned-0.2.93.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haveibeenpywned-0.2.93-py3-none-any.whl | Python 3 | none | any | Details for haveibeenpywned-0.2.93-py3-none-any.whl |
Total release size: 12.1 kB
Release files / haveibeenpywned-0.2.93.tar.gz
| Download URL | haveibeenpywned-0.2.93.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c522e1374267329dcbd1f7e3f6e8a67890248d862e56b6c125c962af6624db1a
|
|
BLAKE2b-256 checksum How to use checksums |
46fdef169e4a86efa8f68e392d898e3fa12990e690b7e028411df8ae7c6768de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / haveibeenpywned-0.2.93-py3-none-any.whl
| Download URL | haveibeenpywned-0.2.93-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f00fb6370fb7db53785f98885920aa3b1ebdef459683eee86aca6b9d54141fa3
|
|
BLAKE2b-256 checksum How to use checksums |
7799451f63ca03411144d0a17866503c9e8133406cd6f0b087043dcff1b1e000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for haveibeenpywned 0.2.93
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.