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.

Source Distribution

pwnedpasswds-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pwnedpasswds-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pwnedpasswds-0.1.0.tar.gz.

File metadata

  • Download URL: pwnedpasswds-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1

File hashes

Hashes for pwnedpasswds-0.1.0.tar.gz
Algorithm Hash digest
SHA256 57177c13db40a23bd0ca14e49cf631aa28779b81405dada802489c0dac164e4a
MD5 d1430eb45ffd4c2d2bd685409ae60f33
BLAKE2b-256 f8f32cba6955046b47f93c4e39fc95e1e2e7e686677b91726e06760386405a3f

See more details on using hashes here.

File details

Details for the file pwnedpasswds-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pwnedpasswds-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1

File hashes

Hashes for pwnedpasswds-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79e9e96f0bf85eba2953dc4a13c5017e2256cab74113d43fa027a8793eb99d42
MD5 ca661ea836bd39c650d723d4a2b1cd9e
BLAKE2b-256 89d62332b5a7706e67660d38cb2782c8a43a9dfb73792c11c63630765ab6b45f

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