-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (112 loc) · 2.87 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (112 loc) · 2.87 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[project]
name = "memstate"
version = "0.5.1"
description = "Transactional Memory for AI Agents - Keep SQL and Vector DBs in sync with ACID-like guarantees"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "Slava Kurachevsky" }
]
keywords = [
"ai",
"agents",
"memory",
"state-management",
"llm",
"langchain",
"langgraph",
"pydantic",
"sqlite",
"acid",
"atomicity",
"consistency"
]
packages = [
{ include = "memstate" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pydantic>=2.12.4",
]
[project.optional-dependencies]
redis = ["redis>=7.1.0"]
langgraph = ["langgraph>=1.0.4"]
chromadb = ["chromadb>=1.3.5"]
qdrant = ["qdrant-client>=1.16.2"]
postgres = ["sqlalchemy>=2.0.0", "psycopg[binary]>=3.3.2"]
sqlite-async = ["aiosqlite>=0.22.0"]
[dependency-groups]
dev = [
"bandit>=1.9.1",
"black>=25.11.0",
"fakeredis>=2.32.1",
"fastembed>=0.7.4",
"isort>=7.0.0",
"mkdocs-material>=9.7.0",
"mkdocstrings-python>=2.0.1",
"mypy>=1.18.2",
"pre-commit>=4.4.0",
"pytest>=9.0.1",
"pytest-asyncio>=1.3.0",
"ruff>=0.14.6",
"testcontainers>=4.13.3",
]
[project.urls]
Homepage = "https://github.com/scream4ik/MemState"
Repository = "https://github.com/scream4ik/MemState"
Issues = "https://github.com/scream4ik/MemState/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["memstate"]
[tool.mypy]
files = "memstate"
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
ignore_errors = false
ignore_missing_imports = true
implicit_reexport = true
strict_optional = true
strict_equality = true
no_implicit_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unreachable = true
warn_no_return = true
[tool.black]
line-length = 120
include = '\.pyi?$'
[tool.isort]
known_first_party = "memstate"
multi_line_output = 3
ensure_newline_before_comments = true
default_section = "THIRDPARTY"
skip = [".venv/"]
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 120
[tool.bandit]
exclude_dirs = ["tests", "examples"]
skips = ["B608"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]