Skip to content
Python library to retrieve passwords from CLI & Python using KeepassHTTP
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keepass_getter
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.md
setup.py

README.md

keepass_getter Build Status Coverage Status

keepass_getter allow you to retrieve passwords from your open KeePass database using KeepassHttp.
This Python module is designed to be easy to be called from bash. It can also be used in a Python package.

It currently only support searching using an url as it's the only retrieving method I need.

Feel free to ask me to implement recovering multiple passwords or search by title if you need it.

Installation

keepass_getter is on pypi !
pip install keepass-getter

Usage

Two functions are available from keepass_getter :

  • getPassword(url, index=0)
  • showPassword(url, index=0)

where url is the search term, and index (optional) the result number, by default, the first match is returned.

Bash

python -c 'from keepass_getter import showPassword; showPassword("mywebsite.com")'

Python

#!/usr/bin/python3

from keepass_getter import getPassword

myPassword=getPassword("mywebsite.com")

# Use myPassword from here...

Credits

This module is a modification of python-keepasshttp to better suits my need.

Donation

This project helped you ? You can buy me a cup of coffee
Donate

You can’t perform that action at this time.