Skip to main content

Python API and CLI for KeePassX

Project description

https://secure.travis-ci.org/jamesls/python-keepassx.png?branch=master https://coveralls.io/repos/jamesls/python-keepassx/badge.png?branch=master

Python keepassx is a python library and a command line utility for working with keepassx database files (.kdb files). This allow you to programatically access your usernames/passwords instead of having to use the KeePassX GUI.

The keepassx module currently supports read only operations (adding entries and creating kdb files are a planned feature). You can list your entries:

$ kp -d password.kdb list
Password:

+---------+----------------------------------+-----------+
| Title   |               Uuid               | GroupName |
+---------+----------------------------------+-----------+
| mytitle | c4d301502050cd695e353b16094be4a7 | Internet  |
+---------+----------------------------------+-----------+

You can also get a username/password:

$ kp -d demo.kdb get Github
Password:


title:     Github
username:  githubuser
url:       github.com/githubuser
notes:


Password has been copied to clipboard.

Check out the docs and the getting started guide for more info.

Python KeepassX is an early project and is undergoing constant development.

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

keepassx-0.0.3.tar.gz (15.0 kB view hashes)

Uploaded Source

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