Skip to main content

No project description provided

Project description

pwnedpasswds

A python wrapper for the Pwned Passwords API.

Usage

You can either use pwnedpasswds in your python code or as a command line utility.

Inside python

>>> from pwnedpasswds import check_passwd
>>> count = check_passwd("Password1")
>>> count
116789

Inside the commandline

You can supply passwords to pwnedpasswds as a command line argument, or thorugh stdin.

$ pwnedpasswds correcthorsebatterystaple
120
$ echo "linux4life" | pwnedpasswds
44
$ cat passwds.txt
troyhunt
p455w0rd
14m501337

$ cat passwds.txt | pwnedpasswds
11
15611
14

Project details


Download files

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

Files for pwnedpasswds, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pwnedpasswds-0.1.0-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pwnedpasswds-0.1.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page