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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keepassxc-async-0.0.1.tar.gz.
File metadata
- Download URL: keepassxc-async-0.0.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b45a23e4b5269741c16bd6fb7068f2c49eb3374d419cdf07a40960fd2656905
|
|
| MD5 |
232849c9e880cd9a43198d5f2f59f696
|
|
| BLAKE2b-256 |
053a7d6bd4521ce282fb71ec6859a0159e846e275457ecac4a8665dd0e32dcfd
|
File details
Details for the file keepassxc_async-0.0.1-py3-none-any.whl.
File metadata
- Download URL: keepassxc_async-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d764d987a4b6074ff2a1b6c6d988aa7a6dcd28268def635d7eecc3d1d54d40b
|
|
| MD5 |
53b49abb4ad265d134f939a2315c3fe1
|
|
| BLAKE2b-256 |
7a611faff1f67761fd200cb18378b998457569239e3d480a2cad2b2c0c75d975
|