Skip to main content

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

Metadata

Release files for pwnedpasswds 0.1.0

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

Source distribution (sdist)

Source distribution for pwnedpasswds 0.1.0
File Size Uploaded Provenance
pwnedpasswds-0.1.0.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pwnedpasswds 0.1.0
File Interpreter ABI Platform
pwnedpasswds-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / pwnedpasswds-0.1.0.tar.gz

Download URL pwnedpasswds-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
57177c13db40a23bd0ca14e49cf631aa28779b81405dada802489c0dac164e4a
BLAKE2b-256 checksum
How to use checksums
f8f32cba6955046b47f93c4e39fc95e1e2e7e686677b91726e06760386405a3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1

Release files / pwnedpasswds-0.1.0-py3-none-any.whl

Download URL pwnedpasswds-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79e9e96f0bf85eba2953dc4a13c5017e2256cab74113d43fa027a8793eb99d42
BLAKE2b-256 checksum
How to use checksums
89d62332b5a7706e67660d38cb2782c8a43a9dfb73792c11c63630765ab6b45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.8.1 Linux/5.5.5-arch1-1

Security for pwnedpasswds 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files 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