-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (92 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (92 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[project]
name = "cashet"
version = "0.5.0"
description = "A Python memoization cache with Redis, async support, DAG pipelines, and an HTTP server"
readme = "README.md"
license = "MIT"
authors = [
{ name = "jolovicdev", email = "dusan.jolovic@proton.me" }
]
keywords = [
"cache",
"memoization",
"dag",
"pipeline",
"redis",
"async",
"asyncio",
"hashing",
"content-addressable",
"compute",
"distributed",
"provenance",
"python",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11"
dependencies = [
"click>=8.1",
"dill>=0.3",
"filelock>=3.0",
"rich>=13.0",
]
[project.urls]
Repository = "https://github.com/jolovicdev/cashet"
[project.scripts]
cashet = "cashet.cli:main"
[project.optional-dependencies]
redis = [
"redis>=7.4.0",
]
server = [
"starlette>=1.0.0",
"uvicorn>=0.46.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/cashet"]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.11",
"pyright>=1.1",
"httpx>=0.28.1",
"pytest-asyncio>=1.3.0",
"freezegun>=1.0",
]
[tool.ruff]
target-version = "py311"
line-length = 99
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "SIM", "RUF"]
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"
include = ["src/cashet"]
ignore = ["tests"]
venvPath = "."
venv = ".venv"
reportUnknownVariableType = "none"
reportUnknownArgumentType = "none"
reportUnknownLambdaType = "none"
reportUnknownMemberType = "none"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
markers = [
"redis: tests that require a running Redis server",
]