😸 pkp ⚡⚡
pkp (pronunciation) is a
simple CLI tool to query KeePass databases from CLI.
It's built on the awesome pykeepass library.
Installation
Binary
The easiest way to start would be to check out the latest release.
NOTE: The -termux binaries are manually built on Termux with
./build.sh termux (no CI).
zinit
# KeePass
() {
local extra_args=()
if command -v termux-info > /dev/null
then
extra_args=(bpick"*termux")
fi
zzinit \
$extra_args \
as"command" \
from"gh-r" \
sbin"pkp* -> pkp" \
for pschmitt/pkp
}
From pypi
# Recommended
pipx install pkp
# Boring alternative
pip3 install --user pkp
Usage
Just run pkp --help. You'll get it:
usage: pkp.py [-h] [-V] -f FILE [-p PASSWORD] [-F KEYFILE] [-I] [-r] [-C] [-D]
{list,ls,l,get,g,entry,e,show,display,sh,ds,search,find,fd,se,f,s}
...
positional arguments:
{list,ls,l,get,g,entry,e,show,display,sh,ds,search,find,fd,se,f,s}
sub-command help
list (ls, l) List entries (by path)
get (g, entry, e) Get entries
show (display, sh, ds)
Show entry data
search (find, fd, se, f, s)
Find entries
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
-f FILE, --file FILE KeePass DB file
-p PASSWORD, --password PASSWORD
Password
-F KEYFILE, --keyfile KEYFILE
Key file
-I, --case-sensitive Case sensitive matching
-r, --raw Disable REGEX path search
-C, --no-color Disable colored output
-D, --debug Debug mode
Metadata
Release files for pkp 0.6.6
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 | Actions |
|---|---|---|---|---|
| pkp-0.6.6.tar.gz | 47.1 kB | Without provenance | Details for pkp-0.6.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pkp-0.6.6-py3-none-any.whl | Python 3 | none | any | Details for pkp-0.6.6-py3-none-any.whl |
Total release size: 77.0 kB
Release files / pkp-0.6.6.tar.gz
| Download URL | pkp-0.6.6.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67c4b0c7c3ff06f461ea8570698018cc4557331e2931e7d7b70d07b91d5da7b6
|
|
BLAKE2b-256 checksum How to use checksums |
b379c13a9edd70d8c1db3b8f465b010eb7ffd76c0c21c54b1589c5663577ea1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pkp-0.6.6-py3-none-any.whl
| Download URL | pkp-0.6.6-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b8f450a9f7e54ade9f5236a34831642bb549a898db50a151ba88b5db2a4a12c
|
|
BLAKE2b-256 checksum How to use checksums |
9ed072a27ee761d0d0a57727e7f84c136939b6d555fe96b7a43df00bacc10f7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for pkp 0.6.6
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.