-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (66 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (66 loc) · 2.05 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "text2sql-framework"
version = "0.4.0"
description = "Framework-agnostic text-to-SQL with tool-based schema retrieval and a native agent loop (raw Anthropic/OpenAI SDKs). LangChain optional."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Cooper Penniman" },
]
keywords = ["sql", "llm", "text-to-sql", "ai", "database", "natural-language", "agents"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"sqlalchemy>=2.0",
"click>=8.0",
"rich>=13.0",
"pydantic>=2.0",
]
[project.optional-dependencies]
openai = ["openai>=1.50"]
anthropic = ["anthropic>=0.40"]
dashboard = ["httpx>=0.27"]
# Legacy deepagents/LangChain backend (agent_backend="langchain") + Text2SqlMiddleware.
# Includes both provider integrations since agent_langchain.py and create_agent()
# resolve models via LangChain's own ChatAnthropic/ChatOpenAI, not the raw SDKs above.
langchain = [
"deepagents>=0.1",
"langchain-core>=0.3",
"langgraph>=0.2",
"langchain>=1.0",
"langchain-anthropic>=0.3",
"langchain-openai>=0.3",
]
all = [
"anthropic>=0.40",
"openai>=1.50",
"httpx>=0.27",
"deepagents>=0.1",
"langchain-core>=0.3",
"langgraph>=0.2",
"langchain>=1.0",
"langchain-anthropic>=0.3",
"langchain-openai>=0.3",
]
dev = ["pytest>=7.0"]
[project.scripts]
text2sql = "text2sql.cli:main"
[project.urls]
Homepage = "https://github.com/Text2SqlAgent/text2sql-framework"
Repository = "https://github.com/Text2SqlAgent/text2sql-framework"
[tool.hatch.build.targets.wheel]
packages = ["text2sql"]