keefind 0.1.0

Creator: railscoder56

Last updated:

Add to Cart

Description:

keefind 0.1.0

# Keefind## What it isKeefind is a simple utility to search in keepass database. I wrote it to beable to easy search for password and copy it to clipboard.## InstallationJust install latest version from PyPi:```> pip install keefind```## UsageTo use keefind you need to export couple environment variables:```> export KP_DATABASE=/path/to/keepass/database> export KP_PASSWORD_FILE=/path/to/file/with/password/to/database```Latter variable is a path to file which has to have one line with passwordto according keepass database.After that you can just start to use keefind.## ExamplesIf you need just get a password and more or less remember the structure ofyour database, you can search for exact variable. Let's say you have groupnamed 'Personal' which consist of groups 'Sites' and 'Banking'. Group 'Sites'has entry named 'github.com' in it with user 'xxx' and password 'yyy'. To getthe password you can call any of next commands```> kf pers githyyy> kf sit xxxyyy> kf pers sit github.com xxxyyy> kf pers yyyyy> kf xxxyyy```So basically under the hood keefind will get all arguments you passed toit and will try to find an entry which has all of these arguments in path,name, site, username or password fields. So in case you pass 'xxx' as anargument, it will show you all found results which have 'xxx' in them. Ifyou will pass 'xxx zzz', it will show you all found results which have**both** xxx **and*** zzz in them.There is just one available option you can use - '-v' to get more verboseoutput. Here is how to use it:```> kf -v xxxPersonal/Sites - github.comyyy> kf -v xxx | xsel -b -iPersonal/Sites - github.com> # Now your password for github is copied to clipboard. That's the trick,> # cause in case of single '-v' option passwords copied to stdout but all> # other info - to stderr, which allows you to pipe output with password(s)> kf -vv xxx{'group': 'Personal/Sites', 'password': 'yyy', 'username': 'xxx'}> kf -vvv xxx{'group': 'Personal/Sites', 'password': 'yyy', 'title': 'github.com', 'url': None, 'username': 'xxx'} ```That's mostly it, nothing more. Improvements and bugfixes are welcomed.## AuthorStanislaw Bogatkin (https://sbog.ru).

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.