Low-level library to interact with keepass databases (supports the v.4 format)
Project description
This library allows you to write entries to a KeePass database
from pykeepass import PyKeePass
# load database
kp = PyKeePass(
'db.kdbx',
password='somePassw0rd'
)
# find any group by its name
group = pk.find_group_by_name('folder1')
# get the entries in a group
group.entries
# find any entry by its title
entry = pk.find_entry('test')
# retrieve the associated password
entry.password
# update an entry
entry.notes = 'this is a test'
# write a new entry
pk.create_entry(
group,
'new_entry',
'myusername',
'myPassw0rdXX'
)
# save database
pk.save('/tmp/pykeepass.kdbx')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pykeepass-2.0.tar.gz
(8.0 kB
view details)
File details
Details for the file pykeepass-2.0.tar.gz.
File metadata
- Download URL: pykeepass-2.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
856bebb7db19b37a59c7a30f4ebcc9097c5b0676454c0e3ebaf4113e543ad4a9
|
|
| MD5 |
2b14288978af68bb805c8fe18bf20c12
|
|
| BLAKE2b-256 |
aa113c118c2591780588045be19cd70561e2e204858dee294f4d7115c8b8d15c
|