Spaces:
Running
Running
File size: 2,288 Bytes
af1ae43 e0d4a07 8f4ea43 af1ae43 c9554cf af1ae43 |
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 |
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cua2-core"
version = "0.0.0-dev.0"
description = "Backend API server for Computer Use Agent"
authors = [{ name = "Amir Mahla", email = "amir.mahla@icloud.com" }]
keywords = ["fastapi", "api", "backend", "automation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.115.13",
"uvicorn[standard]>=0.29.0,<0.30.0",
"websockets>=13.1.0,<14.0.0",
"pydantic>=2.11.7",
"python-multipart>=0.0.18,<0.0.19",
"python-jose[cryptography]==3.3.0",
"passlib[bcrypt]==1.7.4",
"python-dotenv==1.0.0",
"httpx>=0.27.1",
"asyncio-mqtt==0.16.1",
"aiofiles==23.2.1",
"smolagents[openai,litellm]==1.22.0",
"openai==2.6.1",
"e2b-desktop==2.1.0",
"huggingface_hub==1.1.2",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
]
[project.urls]
Homepage = "https://github.com/huggingface/CUA2"
Repository = "https://github.com/huggingface/CUA2"
[tool.hatch.build.targets.wheel]
packages = ["src/cua2_core"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
"*/migrations/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
|