KeePass Library
This library enables Robot Framework to interact with KeePass databases.
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.13.0Updated supported Robot Framework, Python and dependency versions0.12.0New keywords, Robot Framework 7.4 secret variable support0.11.0Updated supported Python versions to include Python 3.14, Updated dependencies, refactoring for deprecated pykeepass functions0.10.0New keywords for accessing entry attachments, updated dependencies0.9.0Updated dependencies, updated supported Python versions to include Python 3.13, dropped Robot Framework 4.1.3 support0.8.0New keywords for accessing entry and group time attributes0.7.0Updated dependencies, dropped python 3.7 support0.6.0Updated dependencies, dropped Robot Framework 3.2.2 support0.5.0Updated dependencies, rework for pykeepas 4.1, dropped python 3.6 support0.4.1Updated dependencies0.4.0Updated dependencies, rework for pykeepas 4.x with keyfile v2 support, additional test cases0.3.1Updated dependencies, tests moved to GitHub actions0.3.0New keywords for accessing entry and group data, rebuild of code using Python Library Core.0.2.5Fix manifest, additional test cases0.2.4Updated dependencies0.2.3Updated dependencies, new travis builds0.2.2Updated dependencies0.2.1KDBX v3 and v4 test cases0.2.0Group Support0.1.0Entry Support
Metadata
Release files for robotframework-keepasslibrary 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_keepasslibrary-0.13.0.tar.gz | 22.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_keepasslibrary-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.3 kB
Release files / robotframework_keepasslibrary-0.13.0.tar.gz
| Download URL | robotframework_keepasslibrary-0.13.0.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f65e8a0cf2e75a017393625244d01b6ae1a733f4e0eb415953e9d76fe58e931
|
|
BLAKE2b-256 checksum How to use checksums |
037a57556ac5e71c8382d67d8f7bc2ff6e1cd30c74b2f550ff33815867bc6ffc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / robotframework_keepasslibrary-0.13.0-py3-none-any.whl
| Download URL | robotframework_keepasslibrary-0.13.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e9da78e0e3b9ddf8c210bbc075272baeda69c877d4c9af954630e0231cd0065
|
|
BLAKE2b-256 checksum How to use checksums |
464bb1bf52a942dccc245d76d895cff2b028c0625f35d2bd24944d0afe67288c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|