Skip to main content

PY Have I Been PWNED

What is this repository for?

The API allows the list of pwned accounts (email addresses and usernames) to be quickly searched via a RESTful service.

How do I get set up?

  • Install this script with:

    • pip3 py_pwned –upgrade (or pip py_pwned –upgrade )

    • or

    • sudo -H pip3 py_pwned –upgrade

  • ready to use it!

What packages does this script uses

  • cfscrape

  • validate_email

  • hashlib

You can also install them by hand

  • pip install cfscrape

  • pip install validate_email

  • pip install hashlib

How to use

start with

pwned = PwNed()

For Password check

data = pwned.searchpwd('YOURPASSWORD') print(data)

For email check

data = pwned.searchemail('YOUREMAIL) print(data)

Who do I talk to?

License

Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

You are free to:

  • Share — copy and redistribute the material in any medium or format

  • Adapt — remix, transform, and build upon the material

-The licensor cannot revoke these freedoms as long as you follow the license terms.-

Under the following terms:

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  • NonCommercial — You may not use the material for commercial purposes.

  • ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Metadata

Release files for py-pwned 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-pwned 0.3
File Size Uploaded Provenance
py_pwned-0.3.tar.gz 3.3 kB Without provenance Details

Release files / py_pwned-0.3.tar.gz

Download URL py_pwned-0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
16fe11d152388aa56ff0f73ad5b007d2e86e1caba869699be9d00b5e92d8b1cc
BLAKE2b-256 checksum
How to use checksums
0a58d7c1af62d4f064b9112a6a525a6c954a598924593bb5535027449539a644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for py-pwned 0.3

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.

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page