File size: 2,444 Bytes
eaca108
 
 
 
 
 
 
dce11f8
eaca108
dce11f8
eaca108
 
ad1d865
eaca108
 
 
4f1305b
 
c0ca604
4f1305b
 
 
 
 
 
393902a
eaca108
c0ca604
eaca108
 
d5baad4
 
eaca108
e8026ea
8677739
393902a
eaca108
 
c0ca604
eaca108
 
 
 
 
 
 
 
 
b9f142a
eaca108
b9f142a
eaca108
 
b39b877
eaca108
 
 
 
 
 
 
 
 
 
 
 
 
657eafe
6a7eb82
 
8eb3da5
4a1b917
99f2cbc
 
393902a
f06bcdb
ad5b346
eaca108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52c6e12
eaca108
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "medrax"
version = "0.1.0"
description = "medical reasoning agent for chest x-ray"
authors = [
    {name = "Adibvafa Fallahpour", email = "adibvafa.fallahpour@mail.utoronto.ca"},
]
license = {file = "LICENSE"}
requires-python = ">=3.12"
dependencies = [
    "requests>=2.25.0",
    "numpy>=1.19.0",
    "langchain>=0.3.26",
    "langchain-core>=0.3.68",
    "langchain-community>=0.0.20",
    "langchain-openai>=0.3.27",
    "langchain-cohere>=0.3.5",
    "langchain-anthropic>=0.3.17",
    "langchain-xai>=0.2.4",
    "langchain-chroma>=0.2.4",
    "langgraph>=0.5.1",
    "hydra-core>=1.1.0",
    "python-dotenv>=0.19.0",
    "pandas>=1.5.0",
    "pydantic>=1.8.0",
    "Pillow>=8.0.0",
    "PyPDF2>=3.0.0",
    "pdfplumber>=0.10.0",
    "torchxrayvision>=0.0.37",
    "transformers>=4.40.0,<4.50.0",
    "datasets>=2.15.0",
    "tokenizers>=0.20,<0.21",
    "sentencepiece>=0.1.95",
    "shortuuid>=1.0.0",
    "tqdm>=4.64.0",
    "accelerate>=0.12.0",
    "peft>=0.2.0",
    "bitsandbytes>=0.35.0",
    "markdown2[all]>=2.4.0",
    "protobuf>=3.15.0",
    "scikit-learn>=0.24.0",
    "gradio>=3.0.0",
    "gradio_client>=0.2.0",
    "httpx>=0.23.0",
    "uvicorn[standard]>=0.15.0",
    "fastapi>=0.68.0",
    "python-multipart>=0.0.6",
    "einops>=0.3.0",
    "einops-exts>=0.0.4",
    "timm==0.5.4",
    "tiktoken>=0.3.0",
    "openai>=0.27.0",
    "backoff>=1.10.0",
    "torch>=2.2.0",
    "torchvision>=0.10.0",
    "scikit-image>=0.18.0",
    "opencv-python>=4.8.0",
    "matplotlib>=3.8.0",
    "diffusers>=0.20.0",
    "pydicom>=2.3.0",
    "pylibjpeg>=1.0.0",
    "jupyter>=1.0.0",
    "albumentations>=1.0.0",
    "chromadb>=0.0.10",
    "pinecone-client>=3.2.2",
    "langchain-pinecone>=0.0.1",
    "langchain-google-genai>=0.1.0",
    "ray>=2.9.0",
    "seaborn>=0.12.0",
    "huggingface_hub>=0.17.0",
    "iopath>=0.1.10",
    "duckduckgo-search>=4.0.0",
    "pyngrok>=7.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest",
    "black",
    "isort",
    "flake8",
    "mypy",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["medrax*"]
exclude = ["med_env*", "demo*"]

[tool.black]
line-length = 100
target-version = ['py312']

[tool.isort]
profile = "black"
line_length = 100

[tool.mypy]
ignore_missing_imports = true
strict_optional = true

[tool.pytest.ini_options]
testpaths = ["tests"]