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 - DownloadsUpdates

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


Versions:

  • 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

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 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
Import            KeePassLibrary

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

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

robotframework-keepasslibrary-0.2.3.tar.gz (4.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.2.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-keepasslibrary-0.2.3.tar.gz.

File metadata

  • Download URL: robotframework-keepasslibrary-0.2.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for robotframework-keepasslibrary-0.2.3.tar.gz
Algorithm Hash digest
SHA256 dfb82883e861287dcb74bc149d4c23cd10c6017eeee8c92c864313e4f219eb4f
MD5 f10edde61b2f59498a8b7a1898bc971f
BLAKE2b-256 cef13a69c1ae6193cfdfb86cf650507014d71269c1fbb3a05e93d5500c37cc63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robotframework_keepasslibrary-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for robotframework_keepasslibrary-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b0afc2b60a2bf95058b5de5f62ea98def48e5f7e124d7d2ae5f65486f3afa2
MD5 baa0ee550da13a6c30721eb28e3dc4f5
BLAKE2b-256 192764607543aaab086566aed79900249a29d8cc7cec3784cbb81a757fbcfb28

See more details on using hashes here.

Supported by

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