-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (95 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
111 lines (95 loc) · 2.87 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llms-py"
version = "3.0.41"
description = "A lightweight CLI tool and OpenAI-compatible server for querying multiple Large Language Model (LLM) providers"
readme = "README.md"
license = "BSD-3-Clause"
authors = [
{name = "ServiceStack", email = "team@servicestack.net"}
]
maintainers = [
{name = "ServiceStack", email = "team@servicestack.net"}
]
keywords = ["llm", "ai", "openai", "anthropic", "google", "gemini", "groq", "mistral", "ollama", "cli", "server", "chat", "completion"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"Environment :: Console",
]
requires-python = ">=3.7"
dependencies = [
"aiohttp"
]
[project.urls]
Homepage = "https://github.com/ServiceStack/llms"
Documentation = "https://github.com/ServiceStack/llms#readme"
Repository = "https://github.com/ServiceStack/llms"
"Bug Reports" = "https://github.com/ServiceStack/llms/issues"
[project.scripts]
llms = "llms.main:main"
[tool.setuptools]
packages = ["llms"]
[tool.setuptools.package-data]
llms = ["index.html", "llms.json", "providers.json", "providers-extra.json", "extensions/**/*", "ui/**/*"]
[tool.ruff]
# Set the target Python version
target-version = "py37"
# Set line length
line-length = 120
# Enable auto-fixing
fix = true
# Exclude common directories
exclude = [
".git",
".venv",
"venv",
"__pycache__",
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
# Enable specific rule sets
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
# Ignore specific rules if needed
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["llms"]
[tool.ruff.lint.per-file-ignores]
# Ignore all errors in publish.py and test_package.py
"publish.py" = ["ALL"]
"test_package.py" = ["ALL"]
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Indent with spaces
indent-style = "space"