-
-
Notifications
You must be signed in to change notification settings - Fork 754
/
Copy pathpyproject.toml
139 lines (130 loc) · 3.83 KB
/
pyproject.toml
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
[project]
authors = [{ name = "Jason Liu", email = "[email protected]" }]
license = { text = "MIT" }
requires-python = "<4.0,>=3.9"
dependencies = [
"openai<2.0.0,>=1.52.0",
"pydantic<3.0.0,>=2.8.0",
"docstring-parser<1.0,>=0.16",
"typer<1.0.0,>=0.9.0",
"rich<14.0.0,>=13.7.0",
"aiohttp<4.0.0,>=3.9.1",
"tenacity<10.0.0,>=9.0.0",
"pydantic-core<3.0.0,>=2.18.0",
"jiter<0.9,>=0.6.1",
"jinja2<4.0.0,>=3.1.4",
"requests<3.0.0,>=2.32.3",
]
name = "instructor"
version = "1.7.7"
description = "structured outputs for llm"
readme = "README.md"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
package = true
[project.urls]
repository = "https://github.com/instructor-ai/instructor"
[tool.pyright]
include = ["instructor"]
exclude = [
"**/node_modules",
"**/__pycache__",
"src/experimental",
"src/typestubs",
"**/tests/**",
]
reportMissingImports = "error"
reportMissingTypeStubs = false
pythonVersion = "3.9"
pythonPlatform = "Linux"
[project.optional-dependencies]
test-docs = [
"fastapi<0.116.0,>=0.109.2",
"redis<6.0.0,>=5.0.1",
"diskcache<6.0.0,>=5.6.3",
"pandas<3.0.0,>=2.2.0",
"tabulate<1.0.0,>=0.9.0",
"pydantic-extra-types<3.0.0,>=2.6.0",
"litellm<2.0.0,>=1.35.31",
"mistralai<2.0.0,>=1.5.1",
]
anthropic = ["anthropic==0.48.0", "xmltodict<0.15,>=0.13"]
groq = ["groq<0.14.0,>=0.4.2"]
cohere = ["cohere<6.0.0,>=5.1.8"]
google-generativeai = [
"google-generativeai<1.0.0,>=0.8.2",
"jsonref<2.0.0,>=1.1.0",
]
vertexai = ["google-cloud-aiplatform<2.0.0,>=1.53.0", "jsonref<2.0.0,>=1.1.0"]
cerebras_cloud_sdk = ["cerebras-cloud-sdk<2.0.0,>=1.5.0"]
fireworks-ai = ["fireworks-ai<1.0.0,>=0.15.4"]
writer = ["writer-sdk<2.0.0,>=1.2.0"]
bedrock = ["boto3<2.0.0,>=1.34.0"]
mistral = ["mistralai<2.0.0,>=1.5.1"]
perplexity = ["openai<2.0.0,>=1.52.0"]
google-genai=["google-genai>=1.5.0","jsonref<2.0.0,>=1.1.0"]
[project.scripts]
instructor = "instructor.cli.cli:app"
[dependency-groups]
dev = [
"pytest<9.0.0,>=8.3.3",
"pytest-asyncio<1.0.0,>=0.24.0",
"coverage<8.0.0,>=7.3.2",
"pyright<2.0.0",
"jsonref<2.0.0,>=1.1.0",
"black<25.0.0,>=24.10.0",
"pytest-examples>=0.0.15",
]
docs = [
"mkdocs<2.0.0,>=1.4.3",
"mkdocs-material[imaging]<10.0.0,>=9.5.9",
"mkdocstrings<0.28.0,>=0.26.1",
"mkdocstrings-python<2.0.0,>=1.11.1",
"pytest-examples>=0.0.15",
"mkdocs-jupyter<0.26.0,>=0.24.6",
"mkdocs-rss-plugin<2.0.0,>=1.12.0",
"mkdocs-minify-plugin<1.0.0,>=0.8.0",
"mkdocs-redirects<2.0.0,>=1.2.1",
"material>=0.1",
]
anthropic = ["anthropic==0.48.0"]
test-docs = [
"fastapi<0.116.0,>=0.109.2",
"redis<6.0.0,>=5.0.1",
"diskcache<6.0.0,>=5.6.3",
"pandas<3.0.0,>=2.2.0",
"tabulate<1.0.0,>=0.9.0",
"pydantic-extra-types<3.0.0,>=2.6.0",
"litellm<2.0.0,>=1.35.31",
"anthropic==0.48.0",
"xmltodict<0.15,>=0.13",
"groq<0.14.0,>=0.4.2",
"phonenumbers<9.0.0,>=8.13.33",
"cohere<6.0.0,>=5.1.8",
"mistralai<2.0.0,>=1.5.1",
"cerebras-cloud-sdk<2.0.0,>=1.5.0",
"fireworks-ai<1.0.0,>=0.15.4",
"graphviz<1.0.0,>=0.20.3",
"sqlmodel<1.0.0,>=0.0.22",
"trafilatura<3.0.0,>=1.12.2",
"pydub<1.0.0,>=0.25.1",
"datasets<4.0.0,>=3.0.1",
"writer-sdk<2.0.0,>=1.2.0",
]
litellm = ["litellm<2.0.0,>=1.35.31"]
google-generativeai = [
"google-generativeai<1.0.0,>=0.8.2",
"jsonref<2.0.0,>=1.1.0",
]
vertexai = ["google-cloud-aiplatform<2.0.0,>=1.53.0", "jsonref<2.0.0,>=1.1.0"]
bedrock = ["boto3<2.0.0,>=1.34.0"]
mistral = ["mistralai<2.0.0,>=1.5.1"]
perplexity = ["openai<2.0.0,>=1.52.0"]
groq = ["groq<0.14.0,>=0.4.2"]
cohere = ["cohere<6.0.0,>=5.1.8"]
cerebras_cloud_sdk = ["cerebras-cloud-sdk<2.0.0,>=1.5.0"]
fireworks-ai = ["fireworks-ai<1.0.0,>=0.15.4"]
writer = ["writer-sdk<2.0.0,>=1.2.0"]
google-genai=["google-genai>=1.5.0","jsonref<2.0.0,>=1.1.0",]