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.
Metadata
Release files for keepassxc-async 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keepassxc-async-0.0.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keepassxc_async-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / keepassxc-async-0.0.1.tar.gz
| Download URL | keepassxc-async-0.0.1.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b45a23e4b5269741c16bd6fb7068f2c49eb3374d419cdf07a40960fd2656905
|
|
BLAKE2b-256 checksum How to use checksums |
053a7d6bd4521ce282fb71ec6859a0159e846e275457ecac4a8665dd0e32dcfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / keepassxc_async-0.0.1-py3-none-any.whl
| Download URL | keepassxc_async-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d764d987a4b6074ff2a1b6c6d988aa7a6dcd28268def635d7eecc3d1d54d40b
|
|
BLAKE2b-256 checksum How to use checksums |
7a611faff1f67761fd200cb18378b998457569239e3d480a2cad2b2c0c75d975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|