-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (117 loc) · 3.23 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (117 loc) · 3.23 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "baseagent"
version = "0.1.0"
description = "A flexible and extensible agent framework built on LangChain and LangGraph"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "BaseAgent Contributors"}
]
keywords = ["agent", "langchain", "langgraph", "llm", "ai", "machine-learning"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"langchain-core>=1.1.0",
"langgraph>=1.0.4",
"python-dotenv>=1.0.0",
"pandas>=2.0.0",
"requests>=2.31.0",
"tqdm>=4.65.0",
"pydantic>=2.0.0",
"PyYAML>=6.0.0",
"nest-asyncio>=1.5.0",
"mcp>=1.0.0",
"langgraph-checkpoint-sqlite>=2.0.0",
"rdflib>=7.6.0",
"langchain-openai>=1.0.2",
"langchain-anthropic>=0.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
]
# Provider-specific optional dependencies
google = ["langchain-google-genai>=1.0.0"]
aws = ["langchain-aws>=0.1.0"]
groq = ["langchain-groq>=0.1.0"]
ollama = ["langchain-ollama>=0.1.0"]
azureai = ["langchain-azure-ai>=1.0.0"]
# All providers
all = [
"langchain-google-genai>=1.0.0",
"langchain-aws>=0.1.0",
"langchain-groq>=0.1.0",
"langchain-ollama>=0.1.0",
"langchain-azure-ai>=1.0.0"
]
[project.urls]
Homepage = "https://github.com/BinglanLi/BaseAgent"
Repository = "https://github.com/BinglanLi/BaseAgent"
Documentation = "https://github.com/BinglanLi/BaseAgent#readme"
"Bug Tracker" = "https://github.com/BinglanLi/BaseAgent/issues"
[tool.setuptools]
packages = ["BaseAgent", "BaseAgent.tools", "BaseAgent.tools.tool_description", "BaseAgent.utils", "BaseAgent.multi_agent", "BaseAgent.tests"]
[tool.setuptools.package-data]
BaseAgent = ["py.typed"]
[tool.setuptools.exclude-package-data]
"*" = ["__pycache__", "*.pyc", "*.pyo"]
[tool.pytest.ini_options]
testpaths = ["BaseAgent/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[dependency-groups]
dev = [
"pytest>=9.0.1",
]
kg = [
"ipykernel>=7.1.0",
"biopython>=1.81",
"numpy>=1.24.0",
"python-dateutil>=2.8.2",
"owlready2>=0.43",
"rdflib>=6.3.0",
"obonet>=0.3.0",
"pronto>=2.5.0",
"requests-cache>=1.0.0",
"mysql-connector-python>=8.0.33",
"pyyaml>=6.0",
"beautifulsoup4>=4.12.0",
"lxml>=4.9.0",
"rich>=13.0.0",
"scipy>=1.11.0",
"pyreadr>=0.5.0",
"playwright>=1.40.0",
"remotezip>=0.12.0",
"psycopg2>=2.9.0",
]