Asyncio-compatible client for the KeePassXC browser protocol.
Project description
keepassxc-async
Asyncio-compatible client for the KeePassXC browser protocol.
Tested with KeePassXC 2.7.6. Please open an issue if there is an incompatibility with a different version.
Usage
Minimal example to connect to a database for the first time:
import asyncio
from keepassxc.database import Client, generate_identification_key
async def main():
async with await Client.create() as client:
await client.wait_unlocked()
identification_key = generate_identification_key()
assoc, meta = await client.associate(identification_key)
print(f"Connected to KeePassXC {meta.version} with ID {assoc.id!r}.")
if __name__ == '__main__':
asyncio.run(main())
For a complete example with different operations and including error handling, see examples/example.py
.
License
MIT License. Copyright © 2024 Max Lang. See LICENSE
for details.
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
keepassxc-async-0.0.1.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for keepassxc_async-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d764d987a4b6074ff2a1b6c6d988aa7a6dcd28268def635d7eecc3d1d54d40b |
|
MD5 | 53b49abb4ad265d134f939a2315c3fe1 |
|
BLAKE2b-256 | 7a611faff1f67761fd200cb18378b998457569239e3d480a2cad2b2c0c75d975 |