-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
95 lines (85 loc) · 1.83 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
[project]
name = "parse-patrol"
version = "0.1.0"
description = "Dual-mode chemistry parsing package: MCP discovery + direct Python imports for computational chemistry analysis"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pydantic",
"requests",
]
[project.optional-dependencies]
# Parser dependencies (can be installed individually)
cclib = [
"cclib>=1.8.1",
]
gaussian = [
"periodictable>=1.6.1",
]
iodata = [
"qc-iodata>=1.0.0a8",
]
nomad = [
"zipfile-deflate64>=0.2.0",
]
# Parser groups
parsers = [
"parse-patrol[cclib,gaussian,iodata]"
]
databases = [
"parse-patrol[nomad]"
]
# MCP server functionality
mcp = [
"mcp[cli]",
]
# Development tools
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=22.0.0",
"ruff>=0.0.261",
"mypy>=1.0.0",
"types-requests>=2.31.0",
]
# Convenience groups
all-parsers = [
"parse-patrol[parsers,mcp]"
]
all = [
"parse-patrol[parsers,databases,mcp,dev]"
]
[project.scripts]
parse-patrol-mcp = "parse_patrol.__main__:mcp.run"
[tool.hatch.build.targets.wheel]
sources = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"integration: marks tests as integration tests (may require network access)",
"slow: marks tests as slow (may download large files)",
"unit: marks tests as fast unit tests",
]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::SyntaxWarning",
]
[tool.pyright]
venvPath = "."
venv = ".venv"
typeCheckingMode = "basic"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.12"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"