enables to lookup entry by username or title

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