forked from 567-labs/instructor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (101 loc) · 3.07 KB
/
pyproject.toml
File metadata and controls
107 lines (101 loc) · 3.07 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
[project]
authors = [
{ name = "Jason Liu" },
{ name = "Ivan Leo" },
]
maintainers = [
{ email = "jason@jxnl.co" },
{ email = "ivan@jxnl.co" },
]
license = { text = "MIT" }
requires-python = "<4.0,>=3.9"
dependencies = [
"openai>=2.0.0,<3.0.0",
"pydantic<3.0.0,>=2.8.0",
"docstring-parser<1.0,>=0.16",
"typer<1.0.0,>=0.9.0",
"rich<15.0.0,>=13.7.0",
"aiohttp<4.0.0,>=3.9.1",
"tenacity<10.0.0,>=8.2.3",
"pydantic-core<3.0.0,>=2.18.0",
"jiter>=0.6.1,<0.15",
"jinja2<4.0.0,>=3.1.4",
"requests<3.0.0,>=2.32.3",
]
name = "instructor"
version = "1.15.1"
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.pytest.ini_options]
markers = [
"unit: marks tests as unit tests (fast, no external dependencies)",
"integration: marks tests as integration tests (may require API keys)",
"llm: marks tests that make LLM API calls",
]
[project.optional-dependencies]
dev = [
"pytest<9.0.0,>=8.3.3",
"pytest-asyncio>=0.24.0,<2.0.0",
"coverage<8.0.0,>=7.3.2",
"jsonref<2.0.0,>=1.1.0",
"pytest-examples>=0.0.15",
"python-dotenv>=1.0.1",
"pytest-xdist>=3.8.0",
"pre-commit>=4.2.0",
"ty>=0.0.1a23",
"anthropic==0.93.0",
"xmltodict>=0.13,<1.1",
]
docs = [
"mkdocs<2.0.0,>=1.6.1",
"mkdocs-material[imaging]<10.0.0,>=9.5.9",
"mkdocstrings>=0.27.1,<0.31.0",
"mkdocstrings-python<2.0.0,>=1.12.2",
"pytest-examples>=0.0.15",
"mkdocs-jupyter>=0.24.6,<0.27.0",
"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",
"mkdocs-llmstxt>=0.5.0,<0.6.0; python_version >= '3.10'",
"mkdocs-material-extensions>=1.3.1",
"mkdocs-material>=9.6.14",
]
test-docs = [
"fastapi>=0.109.2,<0.129.0",
"redis>=5.0.1,<8.0.0",
"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>=1.35.31,<=1.83.7",
"mistralai<2.0.0,>=1.5.1",
]
anthropic = ["anthropic==0.93.0", "xmltodict>=0.13,<1.1"]
groq = ["groq>=0.4.2,<1.1.0"]
cohere = ["cohere<6.0.0,>=5.1.8"]
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<3.0.0,>=2.2.0"]
bedrock = ["boto3<2.0.0,>=1.34.0"]
mistral = ["mistralai<2.0.0,>=1.5.1"]
perplexity = ["openai>=2.0.0,<3.0.0"]
google-genai = ["google-genai>=1.5.0","jsonref<2.0.0,>=1.1.0"]
litellm = ["litellm>=1.35.31,<=1.83.7"]
xai = ["xai-sdk>=0.2.0 ; python_version >= '3.10'"]
phonenumbers = ["phonenumbers>=8.13.33,<10.0.0"]
graphviz = ["graphviz<1.0.0,>=0.20.3"]
sqlmodel = ["sqlmodel<1.0.0,>=0.0.22"]
diskcache = ["diskcache<6.0.0,>=5.6.3"]
trafilatura = ["trafilatura<3.0.0,>=1.12.2"]
pydub = ["pydub<1.0.0,>=0.25.1"]
datasets = ["datasets>=3.0.1,<5.0.0"]
[project.scripts]
instructor = "instructor.cli.cli:app"