Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.08 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (78 loc) · 2.08 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
[project]
name = "memtrace"
version = "0.1.0"
description = "MemTrace: trace-first, state-aware memory runtime and profiler for long-horizon LLM agents"
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"pydantic>=2.9",
"pydantic-settings>=2.5",
"sqlalchemy[asyncio]>=2.0.36",
"asyncpg>=0.30",
"psycopg[binary]>=3.2",
"pgvector>=0.3.6",
"alembic>=1.14",
"greenlet>=3.1",
"httpx>=0.27",
"celery>=5.4",
"redis>=5.0",
]
[project.urls]
Homepage = "https://github.com/MicroYui/mem-trace#readme"
Repository = "https://github.com/MicroYui/mem-trace"
Issues = "https://github.com/MicroYui/mem-trace/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.24",
]
telemetry = [
"opentelemetry-sdk>=1.25",
"opentelemetry-exporter-otlp>=1.25",
]
search = [
# Cap below 9: the elasticsearch 9.x client refuses an 8.x server (product/
# version check), and docker-compose.full.yml ships Elasticsearch 8.x.
"elasticsearch>=8.0,<9",
]
graph = [
"neo4j>=5.0,<7",
]
jwt = [
"PyJWT>=2.8",
]
crypto = [
"cryptography>=42.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["apps/api/app"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = ["--import-mode=importlib"]
testpaths = ["apps/api/tests", "packages/python-sdk/tests"]
pythonpath = ["apps/api", "packages/python-sdk/src"]
markers = [
"postgres: tests that require MEMTRACE_TEST_DATABASE_URL and a disposable PostgreSQL database",
]
[tool.uv]
package = true
[tool.uv.workspace]
members = ["packages/python-sdk"]
[tool.uv.sources]
memtrace = { workspace = true }