-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
76 lines (67 loc) · 1.68 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
[project]
name = "dspydantic"
dynamic = ["version"]
description = "Optimize Pydantic model field descriptions using DSPy"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "dspydantic contributors"}
]
keywords = ["pydantic", "dspy", "optimization", "llm", "ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pydantic>=2.0.0",
"dspy>=3.0.4",
"deepdiff>=8.0.0",
"pillow>=10.0.0",
"pdf2image>=1.16.0",
"rich>=13.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.4.2",
"black>=24.0.0",
"ruff>=0.1.0",
"datasets",
"pre-commit>=3.6.0",
"mypy>=1.8.0",
"watchdog>=4.0.0",
]
docs = [
"mkdocs-material>=9.5.0",
"mktestdocs>=0.1.0",
"mkdocstrings[python]>=0.24.0",
"mkdocs-jupyter>=0.24.0",
"jupyter>=1.0.0",
"nbconvert>=7.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/dspydantic/__init__.py"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]