Skip to main content

KeePass Library

This library enables Robot Framework to interact with KeePass databases.

Python package Version PyPI - License PyPI - Downloads Updates

Supported KeePass versions:

  • KDBX3
  • KDBX4

KeepassLibrary uses the PyKeePass modules internally to access KeePass databases

See https://keepass.info for more information about KeePass in general


Keyword Documentation

See keyword documentation for available keywords and more information about the library in general.


Installation

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

Install (or upgrade) the latest KeePassLibrary version:

pip install --upgrade robotframework-keepasslibrary

Example

*** Settings ***
Documentation     A test suite with a single test for retrieving a password.
...
...               The test opens 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
    Open 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}

Versions:

  • 0.12.0 New keywords, Robot Framework 7.4 secret variable support
  • 0.11.0 Updated supported Python versions to include Python 3.14, Updated dependencies, refactoring for deprecated pykeepass functions
  • 0.10.0 New keywords for accessing entry attachments, updated dependencies
  • 0.9.0 Updated dependencies, updated supported Python versions to include Python 3.13, dropped Robot Framework 4.1.3 support
  • 0.8.0 New keywords for accessing entry and group time attributes
  • 0.7.0 Updated dependencies, dropped python 3.7 support
  • 0.6.0 Updated dependencies, dropped Robot Framework 3.2.2 support
  • 0.5.0 Updated dependencies, rework for pykeepas 4.1, dropped python 3.6 support
  • 0.4.1 Updated dependencies
  • 0.4.0 Updated dependencies, rework for pykeepas 4.x with keyfile v2 support, additional test cases
  • 0.3.1 Updated dependencies, tests moved to GitHub actions
  • 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 Updated dependencies
  • 0.2.3 Updated dependencies, new travis builds
  • 0.2.2 Updated dependencies
  • 0.2.1 KDBX v3 and v4 test cases
  • 0.2.0 Group Support
  • 0.1.0 Entry Support

Download files

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

Source Distribution

robotframework_keepasslibrary-0.12.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_keepasslibrary-0.12.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_keepasslibrary-0.12.0.tar.gz.

File metadata

File hashes

Hashes for robotframework_keepasslibrary-0.12.0.tar.gz
Algorithm Hash digest
SHA256 23e3704ee6b62d775dd9d347b31a485bb22b88c4bdb8811e03fa44b6d0c324ce
MD5 4f460ae4583e298d2116f7a0ddec4813
BLAKE2b-256 96fdffd430ea2f15f051d8246abbafc5ce5778eb2ac670d7c04f25c90fa2d683

See more details on using hashes here.

File details

Details for the file robotframework_keepasslibrary-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_keepasslibrary-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 036032a28eeb958a90647570df04959c7cfec896cfca2ddf0b3f091e3ff38031
MD5 5d6e727bc072096cdbb60b1775c0974b
BLAKE2b-256 433d7b1df9035209ecec1a5d0c7aa79f6b4be5bc219f978fd570a6382bb4cfd5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0.post1

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page