-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (80 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
88 lines (80 loc) · 1.99 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
[build-system]
requires = ["setuptools>=64.0.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "llms-wrapper"
dynamic = ["version"]
description = "Package for simple usage of diverse LLMs and configuring them using human readable config files"
readme = "README.md"
authors = [
{ name = "Johann Petrak", email = "johann.petrak@gmail.com" },
]
license = { text = "Apache Software License" }
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"litellm",
"tenacity",
"hjson",
"loguru",
"docstring_parser",
"python-dotenv",
"arize-phoenix-otel",
"openinference-instrumentation-litellm",
# make sure to avoid indirect dependencies with security issues
"python-multipart>=0.0.22",
"urllib3>=2.6.3",
"protobuf>=6.33.5",
"aiohttp>=3.13.3",
"filelock>=3.20.3",
]
[project.optional-dependencies]
dev = [
"pdoc3",
"pytest",
"pytest-cov",
"ipython",
"jupyter",
"jupyterlab",
"ipykernel",
"notebook",
]
webchat = [
"pyperclip",
"python-fasthtml",
]
phoenix = [
"openinference-instrumentation-litellm",
"arize-phoenix-otel",
]
all = [
"llms-wrapper[dev,webchat,phoenix]",
]
[project.urls]
# Documentation = ""
# Source = ""
[project.scripts]
llms_wrapper_test = "llms_wrapper.llms_wrapper_test:main"
llms_wrapper_llminfo = "llms_wrapper.llms_wrapper_llminfo:main"
llms_wrapper_webchat = "llms_wrapper.llms_wrapper_webchat:main"
llms_wrapper_costs = "llms_wrapper.cost_logger:main"
[tool.setuptools]
packages = ["llms_wrapper"]
[tool.setuptools.dynamic]
version = {attr = "llms_wrapper.version.__version__"}
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "WARN"
addopts = "-r A"
norecursedirs = [
"dist",
"build",
"docs",
"examples",
]