Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (68 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (68 loc) · 1.79 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
[project]
name = "material-platform"
version = "0.1.0"
description = "Discover, process, and index research materials"
readme = "README.md"
license = "AGPL-3.0-only"
requires-python = ">=3.12,<3.13"
dependencies = [
"pydantic>=2.11,<3",
"pydantic-settings>=2.10,<3",
"sqlalchemy>=2.0,<2.1",
"psycopg[binary]>=3.2,<4",
"alembic>=1.16,<2",
"minio>=7,<8",
"pypdf>=5,<7",
"dagster>=1.13,<1.15",
"dagster-webserver>=1.13,<1.15",
"py7zr>=1.1.3",
"python-docx>=1.1,<2",
"qdrant-client>=1.12,<2",
"langgraph>=0.2,<1",
"langgraph-checkpoint-postgres>=2.0,<4",
"langfuse>=2.0,<5",
"fastapi>=0.141.1",
"uvicorn>=0.52.4",
"langgraph-checkpoint-sqlite>=2.0,<4",
"redis>=8.1.0",
]
[project.optional-dependencies]
k8s = [
"dagster-k8s==0.29.20",
"dagster-postgres==0.29.20",
]
[dependency-groups]
dev = [
"pytest>=8",
"pytest-cov>=6",
"ruff>=0.12",
"mypy>=1.16",
"httpx>=0.28.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
mp = "material_platform.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/material_platform"]
[tool.dagster]
module_name = "defs.definitions"
[tool.pytest.ini_options]
testpaths = ["tests/unit"]
pythonpath = ["."]
# Knobs are pinned in tests/conftest.py. Settings skips .env under pytest.
[tool.ruff]
line-length = 88
target-version = "py312"
src = ["src", "tests", "defs"]
extend-exclude = ["migrations/script.py.mako"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["material_platform", "defs"]
[[tool.mypy.overrides]]
module = ["docx", "docx.*", "qdrant_client", "qdrant_client.*", "FlagEmbedding", "langfuse", "langfuse.*", "langgraph", "langgraph.*"]
ignore_missing_imports = true