-
Notifications
You must be signed in to change notification settings - Fork 95
/
pyproject.toml
108 lines (98 loc) · 2.93 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
[tool.poetry]
name = "autochain"
version = "0.0.5"
description = "AutoChain: Build lightweight, extensible, and testable LLM Agents"
# TODO: add URLs, homepage, documentation
authors = [
"Yi Lu <[email protected]>",
"Forethought Engineering <[email protected]>",
]
readme = "README.md"
classifiers = [
"Intended Audience :: Customer Service",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Framework :: Pydantic",
"Framework :: Pydantic :: 1",
# TODO: define license
# "License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = "^3.8.1"
colorama = ">=0.4.6"
pydantic = "^1.10.9"
google-api-python-client = {version = ">=2.89.0", optional = true}
chromadb = ">=0.3.26"
lancedb = {version = ">=0.1.16", optional = true}
pandas = ">=2.0.2"
openai = ">=0.27.8"
types-colorama = ">=0.4.15.11"
pytest = "^7.3.2"
redis = "^4.6.0"
pinecone-client = {version = "^2.2.2", optional = true}
mkdocs-git-authors-plugin = "^0.7.2"
tenacity = "^8.2.2"
[tool.poetry.group.dev.dependencies]
mypy = "^1.3.0"
black = "^23.3.0"
ruff = "^0.0.272"
mkdocs = "^1.4.2"
mkdocs-material = "^8.5.7"
mdx-include = "^1.4.2"
Pillow = "^9.3.0"
CairoSVG = "^2.5.2"
pytest = "^7.3.2"
coverage = {extras = ["toml"], version = "^7.3.0"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.extras]
google = ["google-api-python-client"]
pinecone= ["pinecone-client"]
lancedb = ["lancedb"]
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = [
"googleapiclient.discovery",
"chromadb",
"chromadb.api",
]
ignore_missing_imports = true
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
# "__init__.py" = ["F401"]
[tool.ruff.isort]
known-third-party = ["autochain"]