hud-python 0.1.0b1__tar.gz → 0.1.0b2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hud-python might be problematic. Click here for more details.

Files changed (48) hide show
  1. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/PKG-INFO +1 -1
  2. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/examples/claude_osworld.ipynb +10 -0
  3. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/__init__.py +1 -1
  4. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/run.py +3 -2
  5. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/pyproject.toml +1 -1
  6. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/tests/test_import.py +1 -1
  7. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.env.example +0 -0
  8. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.github/workflows/ci.yml +0 -0
  9. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.github/workflows/release.yml +0 -0
  10. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.gitignore +0 -0
  11. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/LICENSE +0 -0
  12. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/MANIFEST.in +0 -0
  13. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/README.md +0 -0
  14. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/base.py +0 -0
  15. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/claude.py +0 -0
  16. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/response_agent.py +0 -0
  17. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/adapters.mdx +0 -0
  18. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/client.mdx +0 -0
  19. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/env.mdx +0 -0
  20. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/adapter.mdx +0 -0
  21. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/client.mdx +0 -0
  22. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/environment.mdx +0 -0
  23. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/gym.mdx +0 -0
  24. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/basic.mdx +0 -0
  25. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/claude-agent.mdx +0 -0
  26. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/custom-agent.mdx +0 -0
  27. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/installation.mdx +0 -0
  28. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/introduction.mdx +0 -0
  29. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/logo/HUD.svg +0 -0
  30. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/mint.json +0 -0
  31. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/quickstart.mdx +0 -0
  32. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/examples/README.md +0 -0
  33. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/__init__.py +0 -0
  34. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/claude/__init__.py +0 -0
  35. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/claude/adapter.py +0 -0
  36. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/__init__.py +0 -0
  37. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/adapter.py +0 -0
  38. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/types.py +0 -0
  39. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/client.py +0 -0
  40. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/environment.py +0 -0
  41. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/gym.py +0 -0
  42. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/py.typed +0 -0
  43. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/server/__init__.py +0 -0
  44. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/server/requests.py +0 -0
  45. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/settings.py +0 -0
  46. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/utils/__init__.py +0 -0
  47. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/utils/config.py +0 -0
  48. {hud_python-0.1.0b1 → hud_python-0.1.0b2}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hud-python
3
- Version: 0.1.0b1
3
+ Version: 0.1.0b2
4
4
  Summary: SDK for the HUD evaluation platform.
5
5
  Project-URL: Homepage, https://github.com/Human-Data/hud-sdk
6
6
  Project-URL: Bug Tracker, https://github.com/Human-Data/hud-sdk/issues
@@ -118,6 +118,16 @@
118
118
  "# close environment\n",
119
119
  "await env.close()"
120
120
  ]
121
+ },
122
+ {
123
+ "cell_type": "code",
124
+ "execution_count": null,
125
+ "metadata": {},
126
+ "outputs": [],
127
+ "source": [
128
+ "analytics = await run.get_analytics()\n",
129
+ "print(analytics)"
130
+ ]
121
131
  }
122
132
  ],
123
133
  "metadata": {
@@ -9,7 +9,7 @@ from hud.environment import Environment, EvalSet, Observation, TaskResult
9
9
  from hud.gym import Gym
10
10
  from hud.run import Run
11
11
 
12
- __version__ = "0.1.0b1"
12
+ __version__ = "0.1.0b2"
13
13
 
14
14
  __all__ = [
15
15
  "Environment",
@@ -1,5 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
+ import datetime
3
4
  from typing import TYPE_CHECKING, Any
4
5
 
5
6
  from pydantic import BaseModel, Field
@@ -10,7 +11,7 @@ from .server import make_request
10
11
  from .settings import settings
11
12
 
12
13
  if TYPE_CHECKING:
13
- from datetime import datetime
14
+ import datetime
14
15
 
15
16
  from .gym import Gym
16
17
 
@@ -61,7 +62,7 @@ class RunAnalyticsResponse(BaseModel):
61
62
  total_tasks: int
62
63
  completed_tasks: int
63
64
  running_time: float | None = None # runtime in seconds if available
64
- created_at: datetime
65
+ created_at: datetime.datetime
65
66
  raw_data: dict[str, list[dict[str, Any]]] = Field(
66
67
  default_factory=lambda: {"tasks": [], "environments": []}
67
68
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hud-python"
3
- version = "0.1.0b1"
3
+ version = "0.1.0b2"
4
4
  description = "SDK for the HUD evaluation platform."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9, <3.14"
@@ -4,4 +4,4 @@ from __future__ import annotations
4
4
  def test_import():
5
5
  """Test that the package can be imported."""
6
6
  import hud
7
- assert hud.__version__ == "0.1.0b1"
7
+ assert hud.__version__ == "0.1.0b2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes