-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (76 loc) · 2.41 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (76 loc) · 2.41 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hai-agents"
version = "1.0.5"
description = "Python SDK for H Company's Computer-Use Agents: autonomous agents powered by Holo."
requires-python = ">=3.10"
readme = "README.md"
authors = [{name = "H Company", email = "contact@hcompany.ai"}]
license = {text = "MIT"}
license-files = ["LICENSE"]
keywords = ["agent", "agents", "computer-use", "browser-use", "llm", "sdk", "h-company"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.23.0,<0.29.0",
"pydantic>=2.0,<3",
"typing_extensions>=4.6",
]
[project.optional-dependencies]
cli = [
"python-dotenv>=1.2.2,<2",
"rich>=13,<16",
"typer>=0.12,<1",
]
all = [
"python-dotenv>=1.2.2,<2",
"rich>=13,<16",
"typer>=0.12,<1",
]
[project.scripts]
hai = "hai_agents_cli:main"
[project.urls]
Homepage = "https://hcompany.ai"
Repository = "https://github.com/hcompai/hai-agents-python"
Issues = "https://github.com/hcompai/hai-agents-python/issues"
Documentation = "https://hub.hcompany.ai/computer-use-agents"
[tool.hatch.build.targets.wheel]
packages = ["src/hai_agents", "src/hai_agents_cli", "src/hai_agents_common"]
[dependency-groups]
dev = [
"pytest>=9.0.3,<10",
"pytest-asyncio>=1.2,<2",
# Used only by tests/integration/ — read HAI_API_KEY_TEST when running locally.
"python-dotenv>=1.2.2,<2",
"rich>=13,<16",
"ruff==0.15.20",
"typer>=0.12,<1",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
# Generated code triggers many lints (missing docstrings, complex types). Apply only
# import sorting and formatting — strict lint is out of scope for generated code.
select = ["I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q -m 'not integration'"
asyncio_mode = "auto"
markers = [
"integration: tests that hit a live Computer-Use Agents backend (requires HAI_API_KEY_TEST)",
"slow: integration tests that consume significant tokens or wall-clock time"
]