Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (127 loc) · 3.73 KB
/
Copy pathpyproject.toml
File metadata and controls
140 lines (127 loc) · 3.73 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fastfold-agent-cli"
version = "0.0.70"
description = "Fastfold CLI — An autonomous agent for drug discovery research"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{ name = "Fastfold AI Corp." }]
dependencies = [
"typer>=0.12",
"rich>=13.0",
"prompt-toolkit>=3.0",
"anthropic>=0.74.0",
"openai>=1.0",
"deepagents>=0.3.0",
"langchain>=1.3.9",
"langchain-anthropic>=1.4.6",
"langchain-openai>=1.3.2",
"langgraph>=1.2.5",
"httpx>=0.27",
"pandas>=2.0",
"numpy>=1.24",
"scipy>=1.10",
"python-dotenv>=1.0",
"markdown>=3.5",
"nbformat>=5.7",
"questionary>=2.1.1",
"termaid>=0.7.1",
]
[project.optional-dependencies]
notebook = ["nbconvert>=7.0"]
chemistry = ["rdkit>=2023.03"]
biology = ["biopython>=1.81"]
singlecell = [
"scanpy>=1.9",
"anndata>=0.10",
"celltypist>=1.6",
"cellxgene-census>=1.0",
"tiledbsoma>=1.0",
]
ml = ["torch>=2.0", "transformers>=4.40", "fair-esm>=2.0"]
analysis = ["seaborn>=0.13", "scikit-learn>=1.3"]
api = ["fastapi>=0.100", "uvicorn[standard]>=0.20", "duckdb>=1.0"]
# Same extras as ``all`` minus Census/Single Cell (``scanpy``, ``cellxgene-census``, ``tiledbsoma``)—
# omit those on native Windows (no usable ``tiledbsoma`` wheels). Prefer WSL2 + Ubuntu + ``[all]`` instead.
win_build = [
"rdkit>=2023.03",
"biopython>=1.81",
"torch>=2.0",
"transformers>=4.40",
"fair-esm>=2.0",
"seaborn>=0.13",
"scikit-learn>=1.3",
]
all = [
"rdkit>=2023.03",
"biopython>=1.81",
"scanpy>=1.9",
"anndata>=0.10",
"celltypist>=1.6",
"cellxgene-census>=1.0",
"tiledbsoma>=1.0",
"torch>=2.0",
"transformers>=4.40",
"fair-esm>=2.0",
"seaborn>=0.13",
"scikit-learn>=1.3",
]
dev = ["pytest>=8.0", "pytest-cov>=5.0", "ruff>=0.5"]
[dependency-groups]
full = [
"nbconvert>=7.0",
"rdkit>=2023.03",
"biopython>=1.81",
"scanpy>=1.9",
"anndata>=0.10",
"celltypist>=1.6",
"cellxgene-census>=1.0",
"tiledbsoma>=1.0",
"seaborn>=0.13",
"scikit-learn>=1.3",
"fastapi>=0.100",
"uvicorn[standard]>=0.20",
"duckdb>=1.0",
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.5",
]
[project.scripts]
fastfold = "cli:entry"
# Note: skills are portable and self-contained. Their scripts are invoked
# directly (`python scripts/<name>.py ...`) from the skill directory, so they
# are no longer exposed as `skills.*` console entry points here.
[tool.hatch.build.targets.wheel]
packages = ["src/agent", "src/api", "src/data", "src/kb", "src/models", "src/reports", "src/skills", "src/tools", "src/ui"]
[tool.hatch.build.targets.wheel.force-include]
"src/cli.py" = "cli.py"
"src/_version.py" = "_version.py"
# hatchling includes all files under the package path, so skills/ data files
# (SKILL.md, scripts/, references/) are bundled automatically
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "tests"]
markers = [
"e2e: end-to-end tests hitting real APIs (use --run-e2e)",
"docker: tests requiring Docker (use --run-e2e)",
"e2e_matrix: optional live multi-prompt end-to-end matrix (set RUN_E2E_MATRIX=1)",
"data_smoke: optional live public data-source smoke tests (set RUN_DATA_SMOKE=1)",
"integration: interactive terminal tests requiring pexpect and a TTY",
]
[tool.coverage.run]
relative_files = true
# Statement coverage for the unit-test gate; branch coverage is tracked in reports
# but makes an 80% threshold unrealistic for Typer/CLI-heavy code.
branch = false
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.uv]
package = true
default-groups = ["full"]