Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

feat(python): add cua-cloud placeholder package (#2042)

r33drichards8d2ac5ee5cf3
diff --git a/libs/python/cua-cloud/README.md b/libs/python/cua-cloud/README.md
new file mode 100644
index 0000000000..bedc05b262
--- /dev/null
+++ b/libs/python/cua-cloud/README.md
@@ -0,0 +1,14 @@
+# cua-cloud
+
+Placeholder package for the future Cua Cloud Python SDK.
+
+## Installation
+
+```bash
+pip install cua-cloud
+```
+
+## Status
+
+This package is intentionally empty today. It exists to reserve the package
+name and provide a stable place for future Cua Cloud Python APIs.
diff --git a/libs/python/cua-cloud/cua_cloud/__init__.py b/libs/python/cua-cloud/cua_cloud/__init__.py
new file mode 100644
index 0000000000..47c6003494
--- /dev/null
+++ b/libs/python/cua-cloud/cua_cloud/__init__.py
@@ -0,0 +1,5 @@
+"""Placeholder package for future Cua Cloud Python SDK."""
+
+__version__ = "0.1.0"
+
+__all__ = ["__version__"]
diff --git a/libs/python/cua-cloud/pyproject.toml b/libs/python/cua-cloud/pyproject.toml
new file mode 100644
index 0000000000..8a1be4b846
--- /dev/null
+++ b/libs/python/cua-cloud/pyproject.toml
@@ -0,0 +1,49 @@
+[project]
+name = "cua-cloud"
+version = "0.1.0"
+description = "Placeholder package for future Cua Cloud Python SDK."
+readme = "README.md"
+license = "MIT"
+authors = [
+ { name = "TryCua", email = "[email protected]" }
+]
+keywords = [
+ "cua",
+ "cloud",
+ "computer-use",
+]
+classifiers = [
+ "Development Status :: 3 - Alpha",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ "Topic :: Software Development :: Libraries",
+]
+requires-python = ">=3.11,<3.14"
+dependencies = []
+
+[project.urls]
+Homepage = "https://github.com/trycua/cua"
+Documentation = "https://docs.trycua.com"
+Repository = "https://github.com/trycua/cua"
+Issues = "https://github.com/trycua/cua/issues"
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+include = [
+ "cua_cloud/**",
+ "README.md",
+]
+exclude = [
+ "cua_cloud/**/__pycache__",
+]
+
+[tool.hatch.build.targets.wheel]
+packages = ["cua_cloud"]
diff --git a/libs/python/cua-cloud/tests/test_placeholder.py b/libs/python/cua-cloud/tests/test_placeholder.py
new file mode 100644
index 0000000000..c4234afd74
--- /dev/null
+++ b/libs/python/cua-cloud/tests/test_placeholder.py
@@ -0,0 +1,18 @@
+from __future__ import annotations
+
+import importlib
+import pathlib
+import tomllib
+
+
+def test_placeholder_package_metadata() -> None:
+ repo_root = pathlib.Path(__file__).resolve().parents[4]
+ pyproject_path = repo_root / "libs/python/cua-cloud/pyproject.toml"
+
+ package = importlib.import_module("cua_cloud")
+
+ assert package.__version__ == "0.1.0"
+
+ project = tomllib.loads(pyproject_path.read_text())["project"]
+ assert project["name"] == "cua-cloud"
+ assert project["description"] == "Placeholder package for future Cua Cloud Python SDK."