hibpcli
A command line interface for the haveibeenpwned.com API - speaks keepass.
installation
$ pip install hibpcli
usage
check all passwords in your keepass database
$ hibpcli check-keepass PATHTOKEEPASSDB --password PASSWORDFORKEEPASSDB
The passwords of following entries are leaked:
[Entry: "test_title (test_user)"]
check a single password
$ hibpcli check-password --password PASSWORD
Please change your password!
contributions, feature requests, bug reports
Please create an issue at https://github.com/jugmac00/hibpcli/issues
tests
run all tests and linters
tox
run tests for Python 3.14 only
tox -e py314
pass through e.g. verbose argument to pytest
tox -e py314 -- -vv
generate coverage
tox -e coverage
thank you
pykeepass - https://github.com/pschmitt/pykeepass
httpx - https://github.com/encode/httpx
CHANGELOG
0.8.0 (23.05.2026)
added
add support for Python 3.12, 3.13 and 3.14
removed
remove support for Python 3.7, 3.8, and 3.9 (eol)
0.7.0 (20.12.2022)
added
add support for Python 3.11
removed
remove support for Python 3.6 (eol)
remove tox-ini-fmt as it clashes with the way comments need to be written in tox.ini
0.6.0 (07.11.2021)
added
add support for Python 3.10
changed
loosen restriction on pykeepass (@denvera)
0.5.1 (07.02.2021)
changed
pin pykeepass as version 4.0 is broken, see https://github.com/libkeepass/pykeepass/issues/244
0.5.0 (06.01.2021)
added
add the bandit security checker
add support for Python 3.9
add type annotations
improve message when there are no known leaks for a password (@eumiro)
provide user friendly error message when given password is wrong
provide caching for password lookups (@eumiro)
changed
run coverage directly instead of pytest-cov
use gh actions instead of Travis
0.4.1 (30.09.2020)
added
add packaging guideline
changed
run linters via pre-commit
0.4.0 (25.05.2020)
added
introduce tox
introduce flake8
introduce flake8-click
introduce coverage via coveralls
add beta classifier
changed
improve readme
convert README and CHANGES to rst format
use setup.py instead of flit for packaging
move source code in src directory
update versions of installation dependencies
subcommand to check a single password now is check-password
subcommand to check a keepass db now is check-keepass
0.3.0 (03.11.2019)
added
add new subcommand “password” for checking a single password
add pdb++ to dev dependencies
add some basic error handling
add some classifiers
0.2.0 (02.11.2019)
added
add path option to keepass subcommand
add password option to keepass subcommand
changed
update dependencies
0.1.0 (01.11.2019)
added
add support for Python 3.7
add support for Python 3.8
create a “hibpcli” script
changed
use “black” code formatter
update dependencies
remove requirements-dev.txt
put test requirements in pyproject.toml
0.0.3 (29.01.2019)
added
add a separate file for changes
add info about testing and coverage
add more info for –help dialog
changed
do not show password when being entered
move keepass check into subcommand
check “path input” whether it is a file
improved tests and coverage (currently 100%)
0.0.2 (22.01.2019)
added
add dependencies to pyproject.toml
0.0.1 (22.01.2019)
initial release
Metadata
Release files for hibpcli 0.8.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 | |
|---|---|---|---|---|
| hibpcli-0.8.0.tar.gz | 12.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hibpcli-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / hibpcli-0.8.0.tar.gz
| Download URL | hibpcli-0.8.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
088130387108b8639b5585ddf75de544262e1ac20603b3f8e3295e7fa7bd077f
|
|
BLAKE2b-256 checksum How to use checksums |
95aca0ccdde079a0472c7d66024726242ef3ccee191b85cfc80a2ebdefe12af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / hibpcli-0.8.0-py3-none-any.whl
| Download URL | hibpcli-0.8.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72a75435c18674c9ab889cd56f104144b85e4984dda8c4cd5b97615068b2846c
|
|
BLAKE2b-256 checksum How to use checksums |
fd58bbbfdedd83bf8c7e1c67cf86cbb0a7ee32322b652406fe7da88ed7f36765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for hibpcli 0.8.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.