add: chongming-cache 统一缓存工具(diskcache / redis 双后端,dict-like 接口)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[build-system]
|
||||
build-backend = "hatchling.build"
|
||||
requires = ["hatchling"]
|
||||
|
||||
[project]
|
||||
name = "chongming-cache"
|
||||
version = "0.1.0"
|
||||
description = "统一缓存封装:兼容 diskcache / redis 后端"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"diskcache>=5.6.3",
|
||||
"redis>=5.0.0",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.0.0",
|
||||
"fakeredis>=2.28.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/chongming_cache"]
|
||||
Reference in New Issue
Block a user