-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (127 loc) · 3.42 KB
/
pyproject.toml
File metadata and controls
143 lines (127 loc) · 3.42 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
132
133
134
135
136
137
138
139
140
141
142
143
[project]
name = "databot-ai"
version = "0.3.0"
description = "A lightweight, open-source AI assistant for data platform operations"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Atul Singh Bisht", email = "me.atulbisht@gmail.com"},
]
keywords = ["ai", "agent", "data", "platform", "bot", "airflow", "data-quality", "llm", "assistant"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
readme = "README.md"
dependencies = [
"typer>=0.9.0",
"litellm>=1.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"fastapi>=0.100.0",
"uvicorn[standard]>=0.23.0",
"httpx>=0.25.0",
"loguru>=0.7.0",
"rich>=13.0.0",
"croniter>=2.0.0",
"pyyaml>=6.0.0",
"aiosqlite>=0.19.0",
]
[project.urls]
Homepage = "https://github.com/asb108/databot"
Repository = "https://github.com/asb108/databot"
Documentation = "https://github.com/asb108/databot#readme"
Issues = "https://github.com/asb108/databot/issues"
[project.optional-dependencies]
gchat = [
"google-auth>=2.0.0",
"google-api-python-client>=2.0.0",
]
sql = [
"sqlalchemy>=2.0.0",
]
lineage = [
"networkx>=3.0.0",
]
spark = [
"httpx>=0.25.0",
]
kafka = [
"httpx>=0.25.0",
]
catalog = [
"httpx>=0.25.0",
]
glue = [
"boto3>=1.28.0",
]
streaming = [
"sse-starlette>=1.6.0",
]
observability = [
"opentelemetry-api>=1.20.0",
"opentelemetry-sdk>=1.20.0",
"opentelemetry-exporter-otlp>=1.20.0",
]
rag = [
"chromadb>=0.4.0",
]
mcp = [
"mcp>=1.0.0",
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"ruff>=0.1.0",
]
all = ["databot[gchat,sql,lineage,spark,kafka,catalog,glue,streaming,observability,rag,mcp,dev]"]
[project.scripts]
databot = "databot.cli.commands:app"
# Plugin entry points: third-party packages can register their own tools, channels, and providers
# Example: [project.entry-points."databot.tools"]
# my_tool = "my_package:MyTool"
[project.entry-points."databot.tools"]
# Built-in tools are registered programmatically, but third-party tools use entry points
[project.entry-points."databot.channels"]
# Third-party channels (e.g., Slack, Discord) can register here
[project.entry-points."databot.providers"]
# Third-party LLM providers can register here
[project.entry-points."databot.connectors"]
sql = "databot.connectors.sql_connector:SQLConnector"
rest_api = "databot.connectors.rest_connector:RESTConnector"
catalog = "databot.connectors.catalog_connector:CatalogConnector"
spark = "databot.connectors.spark_connector:SparkConnector"
kafka = "databot.connectors.kafka_connector:KafkaConnector"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["databot"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = true
[tool.black]
line-length = 88
target-version = ["py39"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3