-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (90 loc) · 2.89 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (90 loc) · 2.89 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "strands-dakera"
dynamic = ["version"]
description = "Persistent, decay-weighted memory for Strands agents, backed by a self-hosted Dakera server."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "Dakera", email = "hello@dakera.ai"}
]
keywords = ["strands", "strands-agents", "agents", "ai", "memory", "dakera", "vector-search", "decay-weighted"]
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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
# strands-agents>=1.45.0: first release shipping the `strands.memory` module
# (MemoryStore / MemoryManager) that DakeraMemoryStore implements.
dependencies = [
"strands-agents>=1.45.0",
"dakera>=0.12.0",
"rich>=13.0.0",
]
[project.urls]
Homepage = "https://dakera.ai"
Documentation = "https://github.com/dakera-ai/strands-dakera#readme"
Repository = "https://github.com/dakera-ai/strands-dakera"
Issues = "https://github.com/dakera-ai/strands-dakera/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0,<9.0.0",
"pytest-asyncio>=0.25.0,<1.0.0",
"ruff>=0.11.0,<1.0.0",
"mypy>=1.15.0,<2.0.0",
"hatch",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
# The git repo lives one level up (monorepo-style layout with a python/ subdir,
# matching the Strands extension-template). Tell hatch-vcs where the .git is.
root = ".."
# Match release tags like `python-v0.1.0` and strip the `python-v` prefix so the
# published package version is a clean SemVer string.
tag_regex = "^python-v(?P<version>.+)$"
# hatch-vcs refuses a non-default `root` unless given a reference file next to it.
relative_to = "pyproject.toml"
[tool.hatch.build.targets.wheel]
packages = ["src/strands_dakera"]
[tool.hatch.envs.default]
dependencies = [
"pytest>=8.0.0,<9.0.0",
"pytest-asyncio>=0.25.0,<1.0.0",
"ruff>=0.11.0,<1.0.0",
"mypy>=1.15.0,<2.0.0",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args}"
lint = "ruff check src tests"
format = "ruff format src tests"
typecheck = "mypy src"
prepare = ["format", "lint", "typecheck", "test"]
[tool.ruff]
line-length = 120
include = ["src/**/*.py", "tests/**/*.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"