AioKV: async file-backed key-value store for single-process local state (persist-forever, not a cache — no TTL/eviction). atomic writes via temp-file + os.replace, every read and write under one asyncio.Lock, blocking fs calls off the loop via asyncio.to_thread. set(key) defaults to int(time.time()) for seen/did-X-at-T. aiocache alias kept for back-compat. src/ layout, hatchling, aiofiles dep. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: disqualifier <dev@disqualifier.me>
16 lines
379 B
TOML
16 lines
379 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aiokv"
|
|
version = "0.1.0"
|
|
description = "Async file-backed key-value store for single-process local state — atomic writes, no TTL, config-free, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiofiles>=23.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aiokv"]
|