Skip to main content

Robot Framework library for working with KeePass Database

Project description

KeePass Library

This library enables Robot Framework to interact with KeePass databases.

Build Status Version PyPI - License PyPI - Downloads Updates

Supported KeePass versions:

  • KDBX3
  • KDBX4

KeepassLibrary uses the PyKeePass modules internally to access KeePass databases

See for more information about KeePass in general


  • 0.3.0 New keywords for accessing entry and group data, rebuild of code using Python Library Core.
  • 0.2.5 Fix manifest, additional test cases
  • 0.2.4 Update dependencies
  • 0.2.3 Update dependencies, new travis builds
  • 0.2.2 Update dependencies
  • 0.2.1 KDBX v3 and v4 test cases
  • 0.2.0 Group Support
  • 0.1.0 Entry Support


The recommended approach to install KeePassLibrary, regardless the version, is using pip.

Install (or upgrade) the latest KeePassLibrary version:

pip install --upgrade robotframework-keepasslibrary


*** Settings ***
Documentation     A test suite with a single test for retrieving a password.
...               The test loads a KeePass database named Database.kdbx using 
...               the keyfile Database.key. 
...               It then retrieves the first entry that matches the Username "User Name"
...               and logs the password from the returned KeePass database entry
Library           KeePassLibrary

*** Test Cases ***
Get KeePass Database Entry
    Load KeePass Database       Database.kdbx    keyfile=Database.key        
    ${entry}=    Get Entries By Username    User Name    first=True
    ${value}=    Get Entry Password    ${entry}  
    Log     Password for User Name is ${value}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for robotframework-keepasslibrary, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_keepasslibrary-0.3.0-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robotframework-keepasslibrary-0.3.0.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page