Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 2.71 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 2.71 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mercury-composable"
version = "4.12.21"
description = "Lightweight Event-over-HTTP function host and client for Mercury Composable"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE.txt"]
authors = [{ name = "Accenture Technology" }]
requires-python = ">=3.10"
dependencies = [
"aiohttp>=3.10,<4",
"msgpack>=1.0,<2",
"PyYAML>=6.0,<7",
]
keywords = ["event-driven", "composable", "microservices", "event-over-http", "mercury"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: AsyncIO",
"Topic :: Software Development :: Libraries",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/Accenture/mercury-python"
Documentation = "https://accenture.github.io/mercury-python"
Repository = "https://github.com/Accenture/mercury-python"
Changelog = "https://github.com/Accenture/mercury-python/blob/main/CHANGELOG.md"
[project.optional-dependencies]
# the LLM helper app (examples/llm-helper) - the package itself stays SDK-free
llm = ["anthropic>=1,<2"]
dev = ["pytest>=8", "pytest-asyncio>=0.23", "ruff>=0.9", "anthropic>=1,<2"]
[project.scripts]
mercury-serve = "mercury_composable.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/mercury_composable"]
[tool.hatch.build.targets.sdist]
# the sdist ships the package plus its teaching surfaces - never the repo's
# agent-memory layer, skills, or CI plumbing
only-include = [
"src/mercury_composable",
"tests",
"examples",
"README.md",
"CHANGELOG.md",
"LICENSE.txt",
]
[tool.ruff]
line-length = 100
target-version = "py310"
# the agent-skills layer is tool-managed by agent-memory (overwritten on upgrade);
# style fixes for it belong upstream, not here
extend-exclude = ["agent-skills"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.basedpyright]
# standard mode plus the contract-relevant strictness: every function parameter
# is annotated, unit tests included (the wire contract is typed - Body,
# dict[str, str]); the reportUnknown* warning family of the editor's
# "recommended" mode is deliberately not chased. agent-skills is tool-managed
# by agent-memory and excluded.
typeCheckingMode = "standard"
reportMissingParameterType = "error"
include = ["src", "examples", "tests"]
exclude = ["agent-skills", ".venv"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]