-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (100 loc) · 2.85 KB
/
pyproject.toml
File metadata and controls
113 lines (100 loc) · 2.85 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
[project]
name = "uipath-llamaindex"
version = "0.5.10"
description = "Python SDK that enables developers to build and deploy LlamaIndex agents to the UiPath Cloud Platform"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"aiosqlite>=0.21.0",
"llama-index>=0.14.13, <1.0.0",
"llama-index-workflows>=2.14.1, <3.0.0",
"llama-index-embeddings-azure-openai>=0.4.1",
"llama-index-llms-azure-openai>=0.4.2",
"openinference-instrumentation-llama-index>=4.3.9",
"uipath>=2.10.0, <2.11.0",
"uipath-runtime>=0.10.0, <0.11.0",
]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
maintainers = [
{ name = "Marius Cosareanu", email = "marius.cosareanu@uipath.com" },
{ name = "Cristian Pufu", email = "cristian.pufu@uipath.com" }
]
[project.optional-dependencies]
bedrock = [
"llama-index-llms-bedrock>=0.3.0",
"llama-index-llms-bedrock-converse>=0.3.0",
"boto3>=1.28.0",
"aiobotocore>=2.5.0",
]
vertex = [
"llama-index-llms-google-genai>=0.8.0",
"google-genai>=1.0.0",
]
[project.entry-points."uipath.middlewares"]
register = "uipath_llamaindex.middlewares:register_middleware"
[project.entry-points."uipath.runtime.factories"]
llamaindex = "uipath_llamaindex.runtime:register_runtime_factory"
[project.urls]
Homepage = "https://uipath.com"
Repository = "https://github.com/UiPath/uipath-integrations-python/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"mypy>=1.14.1",
"ruff>=0.9.4",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.11.1",
"pre-commit>=4.5.1",
"filelock>=3.20.3",
"virtualenv>=20.36.1",
"pytest-asyncio>=1.0.0",
"numpy>=1.24.0",
]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
[tool.ruff.lint.per-file-ignores]
"*" = ["E501"]
"src/uipath_llamaindex/llms/bedrock.py" = ["E402"]
"src/uipath_llamaindex/llms/vertex.py" = ["E402"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
plugins = [
"pydantic.mypy"
]
exclude = [
"samples/.*", "testcases/.*"
]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-ra -q"
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true