aries-askar 0.4.6

Askar cryptographic primitives and secure storage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import asyncio

from aries_askar import Entry, Store

async def test_entry():
	s = await Store.provision("sqlite://:memory:", pass_key="key")
	async with s.session() as session:
		await session.insert("category", "name", "value")
		entry = await session.fetch("category", "name")
		print(entry)
		print(entry.value)
		print(entry.value)
# 		print(Entry.value.fget.cache_info())

asyncio.run(test_entry())