Skip to main content

Python3 Have I been Pwned checker

Project description

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.

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

py_pwned-0.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file py_pwned-0.3.tar.gz.

File metadata

  • Download URL: py_pwned-0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py_pwned-0.3.tar.gz
Algorithm Hash digest
SHA256 16fe11d152388aa56ff0f73ad5b007d2e86e1caba869699be9d00b5e92d8b1cc
MD5 4fd1bb8899815fea4d18a2b5c7f48f70
BLAKE2b-256 0a58d7c1af62d4f064b9112a6a525a6c954a598924593bb5535027449539a644

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