brettviren/python-keepass — pull request #13 by gpr (2014-02-13 22:05:22+00:00)
Title: enables to lookup entry by username or title

from keepass import kpdb
db = kpdb.Database(filename,masterkey)
db.get_entry(username).password