-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (84 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
98 lines (84 loc) · 2.15 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "batchman"
version = "1.1.0"
description = "A flexible Python library for managing batches of requests to LLM inference providers."
readme = "README.md"
authors = [
{name = "Etienne", email = "etienne@withexxa.com"}
]
maintainers = [
{name = "Etienne", email = "etienne@withexxa.com"},
{name = "Corentin", email = "corentin@withexxa.com"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
license = {file = "LICENSE"}
requires-python = ">=3.9"
dependencies = [
"click",
"requests",
"pydantic",
"PrettyTable",
"textual",
"openai",
"anthropic",
]
[project.optional-dependencies]
dev = [
"coverage", # testing
"mypy", # linting
"pytest", # testing
"ruff", # linting
"types-requests",
"tox",
"tox-uv",
"sphinx", # documentation
"sphinx-rtd-theme", # Read The Docs theme
"sphinx-autodoc-typehints", # Better type hints support
]
[project.urls]
bugs = "https://github.com/withexxa/batchman/issues"
changelog = "https://github.com/withexxa/batchman/blob/master/changelog.md"
homepage = "https://github.com/withexxa/batchman"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
batchman = ["py.typed"]
[project.scripts]
batchman = "batchman.cli:cli"
# Mypy
# ----
[tool.mypy]
files = ["src", "examples"]
plugins = ["pydantic.mypy"]
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[tool.mypy.overrides]
files = ["tests/test_*.py"]
ignore_errors = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple/"
publish-url = "https://upload.pypi.org/legacy/"
explicit = true