Bad passwords
Tiny library containing a single function to check against the most common passwords.
Currently this list is fine-tuned for our purposes. It only contains passwords that are at least 10 characters long. We source our passwords from https://github.com/danielmiessler/SecLists/tree/master/Passwords/Common-Credentials
Run the Tests
Install tox and run it:
pip install tox tox-uv tox
Limit the tests to a specific python version:
tox -e py311
Conventions
Bad passwords follows PEP8 as close as possible. To test for it run:
tox -e lint
Bad passwords uses Semantic Versioning
Development
Setup your local development environment:
python3 -m venv venv source venv/bin/activate pip install -e . --group dev prek install
License
Bad passwords is released under MIT
Metadata
Release files for bad-passwords 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bad_passwords-1.1.0.tar.gz | 31.0 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bad_passwords-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.5 MB
Release files / bad_passwords-1.1.0.tar.gz
| Download URL | bad_passwords-1.1.0.tar.gz |
|---|---|
| Size | 31.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c9654c17773932619d9be4aa7d0e96d270dd3dca0c04b4b46c8683b2add1050
|
|
BLAKE2b-256 checksum How to use checksums |
ad70ec7008ffd0da0408c397d7d96346f329e7efce86b4c2b39d8d24da4b9ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / bad_passwords-1.1.0-py3-none-any.whl
| Download URL | bad_passwords-1.1.0-py3-none-any.whl |
|---|---|
| Size | 31.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6604eb9326f1f58f15627d0bf11f93be7bed94f31beabf33456164a292468aaa
|
|
BLAKE2b-256 checksum How to use checksums |
6df4c3d758612e4282c936720284007a40266715570618dcc004b64522426ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logSecurity for bad-passwords 1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for bad_passwords-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logA 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.