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.

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.7.0 Update dependencies, dropped python 3.7 support
  • 0.6.0 Update dependencies, dropped Robot Framework 3.2.2 support
  • 0.5.0 Update dependencies, rework for pykeepas 4.1, dropped python 3.6 support
  • 0.4.1 Update dependencies
  • 0.4.0 Update dependencies, rework for pykeepas 4.x with keyfile v2 support, additional test cases
  • 0.3.1 Update 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 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

Project details


Download files

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

Source Distribution

Built Distribution

File details

Details for the file robotframework_keepasslibrary-0.7.0.post1.tar.gz.

File metadata

File hashes

Hashes for robotframework_keepasslibrary-0.7.0.post1.tar.gz
Algorithm Hash digest
SHA256 93cea531c2f027005eb085328db9f8fb38d1e64bf814a1b2970e40e5d6ec6022
MD5 07bd0ceb35194770274e475b5834e8cf
BLAKE2b-256 044d456046ffd9a08b9a474c194c2e8ef2d6a90c5b51d80f7b3795b600fe45d5

See more details on using hashes here.

File details

Details for the file robotframework_keepasslibrary-0.7.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_keepasslibrary-0.7.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f308d94a03cf64fc4af4016fdc0935a17fff8690369f56b5d44cfd4318cbcfe
MD5 39395a88c25b258350aa4f3efedac961
BLAKE2b-256 8e5d0c2fcd6078fb875b66fde6f2dcd890357715895fa42cabcf2f906eb24bc5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page