Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (117 loc) · 3.11 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (117 loc) · 3.11 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
[project]
name = "PhyAgentOS-ai"
version = "1.1.0"
description = "A lightweight personal AI assistant framework"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "PhyAgentOS contributors"}
]
keywords = ["ai", "agent", "chatbot"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"typer>=0.20.0,<1.0.0",
"litellm>=1.82.1,<2.0.0",
"pydantic>=2.12.0,<3.0.0",
"pydantic-settings>=2.12.0,<3.0.0",
"PyYAML>=6.0.0,<7.0.0",
"websockets>=16.0,<17.0",
"httpx>=0.28.0,<1.0.0",
"oauth-cli-kit>=0.1.3,<1.0.0",
"loguru>=0.7.3,<1.0.0",
"readability-lxml>=0.8.4,<1.0.0",
"rich>=14.0.0,<15.0.0",
"croniter>=6.0.0,<7.0.0",
"dingtalk-stream>=0.24.0,<1.0.0",
"python-telegram-bot[socks]>=22.6,<23.0",
"lark-oapi>=1.5.0,<2.0.0",
"socksio>=1.0.0,<2.0.0",
"python-socketio>=5.16.0,<6.0.0",
"msgpack>=1.1.0,<2.0.0",
"slack-sdk>=3.39.0,<4.0.0",
"slackify-markdown>=0.2.0,<1.0.0",
"qq-botpy>=1.2.0,<2.0.0",
"python-socks[asyncio]>=2.8.0,<3.0.0",
"prompt-toolkit>=3.0.50,<4.0.0",
"mcp>=1.26.0,<2.0.0",
"json-repair>=0.57.0,<1.0.0",
"jsonschema>=4.23,<5",
"chardet>=3.0.2,<6.0.0",
"openai>=2.8.0",
"tiktoken>=0.12.0,<1.0.0",
]
[project.optional-dependencies]
wecom = [
"wecom-aibot-sdk-python>=0.1.2",
]
matrix = [
"matrix-nio[e2e]>=0.25.2",
"mistune>=3.0.0,<4.0.0",
"nh3>=0.2.17,<1.0.0",
]
dev = [
"pytest>=9.0.0,<10.0.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"ruff>=0.1.0",
"matrix-nio[e2e]>=0.25.2",
"mistune>=3.0.0,<4.0.0",
"nh3>=0.2.17,<1.0.0",
]
[project.scripts]
paos = "PhyAgentOS.cli.commands:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["PhyAgentOS"]
[tool.hatch.build.targets.wheel.sources]
"PhyAgentOS" = "PhyAgentOS"
# Include non-Python files in skills and templates
[tool.hatch.build]
include = [
"PhyAgentOS/**/*.py",
"PhyAgentOS/templates/**/*.md",
"PhyAgentOS/templates/**/*.json",
"PhyAgentOS/templates/**/*.yaml",
"PhyAgentOS/skills/**/*.md",
"PhyAgentOS/skills/**/*.sh",
"PhyAgentOS/skills/**/*.yaml",
"PhyAgentOS/skills/**/*.yml",
]
[tool.hatch.build.targets.sdist]
include = [
"PhyAgentOS/",
"bridge/",
"docs/",
"scripts/",
"README.md",
"README_zh.md",
"CHANGELOG.md",
"Dockerfile",
"docker-compose.yml",
".dockerignore",
"environment.yml",
"LICENSE",
]
[tool.hatch.build.targets.wheel.force-include]
"bridge" = "PhyAgentOS/bridge"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"PhyAgentOS/**/*.py" = ["N999"] # Published package name intentionally uses capitals.
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]