forked from agentscope-ai/QwenPaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (135 loc) · 3.81 KB
/
pyproject.toml
File metadata and controls
146 lines (135 loc) · 3.81 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[project]
name = "qwenpaw"
dynamic = ["version"]
description = "QwenPaw is a **personal assistant** that runs in your own environment. It talks to you over multiple channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.) and runs scheduled tasks according to your configuration. **What it can do is driven by Skills — the possibilities are open-ended.** Built-in skills include cron, PDF/Office handling, news digest, file reading, and more; you can add custom skills. All data and tasks run on your machine; no third-party hosting."
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"agentscope==1.0.19.post1",
"agentscope-runtime==1.1.4",
"httpx>=0.27.0",
"packaging>=24.0",
"discord-py>=2.3",
"dingtalk-stream>=0.24.3",
"alibabacloud-dingtalk>=2.2.42",
"alibabacloud-tea-openapi>=0.4.4",
"uvicorn>=0.40.0",
"apscheduler>=3.11.2,<4",
"playwright>=1.49.0",
"questionary>=2.1.1",
"mss>=9.0.0",
"reme-ai==0.3.1.8",
"transformers>=4.30.0",
"python-dotenv>=1.0.0",
"python-socks>=2.5.3",
"onnxruntime<1.24",
"lark-oapi>=1.5.3",
"python-telegram-bot>=20.0",
"twilio>=9.10.2",
"pywebview>=4.0",
"aiofiles>=24.1.0",
"paho-mqtt>=2.0.0",
"wecom-aibot-python-sdk==1.0.2",
"matrix-nio>=0.24.0",
"shortuuid>=1.0.0",
"google-genai>=1.67.0",
"tzdata>=2024.1",
"cryptography>=43.0.0",
"keyring>=25.0.0",
"pyyaml>=6.0",
"json-repair>=0.30.0",
"segno>=1.6.6",
"modelscope>=1.35.0",
"huggingface_hub>=0.20.0",
"pillow>=10.0.0",
"agent-client-protocol>=0.9.0",
# anyio 4.13.0: _deliver_cancellation busy-loop / getpid storm (QwenPaw#2632)
"anyio>=4.0.0,<4.13.0",
]
[tool.setuptools.dynamic]
version = {attr = "qwenpaw.__version__.__version__"}
[tool.setuptools]
packages = { find = { where = ["src"] } }
include-package-data = true
[tool.setuptools.package-data]
# Dockerfile copies console build output to src/qwenpaw/console/ (no dist subdir).
"qwenpaw" = [
"console/**",
"agents/md_files/**",
"agents/skills/**",
"tokenizer/**",
"security/tool_guard/rules/**",
"security/skill_scanner/rules/**",
"security/skill_scanner/data/**",
]
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project.scripts]
qwenpaw = "qwenpaw.cli.main:cli"
copaw = "qwenpaw.cli.main:cli"
# Optional doctor plugins: callable (DoctorRunContext) -> list[str]
# [project.entry-points."qwenpaw.doctor"]
# my_pkg = "my_pkg.doctor:doctor_notes"
# Legacy group "copaw.doctor" is still loaded when present.
[project.optional-dependencies]
dev = [
"pytest>=8.3.5",
"pytest-asyncio>=0.23.0",
"pre-commit>=4.2.0",
"pytest-cov>=6.2.1",
"hypothesis>=6.0.0",
]
local = [
"huggingface_hub>=0.20.0",
]
whisper = [
"openai-whisper>=20231117",
]
full = [
"qwenpaw[local,whisper]",
]
sip = [
"pyVoIP>=1.6.0",
"dashscope>=1.0.0",
"dashscope-realtime>=0.1.0",
"audioop-lts; python_version >= '3.13'",
]
sip-livekit = [
"qwenpaw[sip]",
"livekit>=1.0.0",
"livekit-api>=0.6.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"unit: marks tests as unit tests",
"contract: marks tests as contract tests",
"integration: marks tests as integration tests",
]
testpaths = [
"tests",
]
[tool.coverage.run]
source = ["src/qwenpaw"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"pass",
]
fail_under = 30
show_missing = true
[tool.coverage.html]
directory = "htmlcov"