Skip to content

Commit 96c2a07

Browse files
committed
Move the Python client into the hebbian_rua package
1 parent d7be32e commit 96c2a07

49 files changed

Lines changed: 114 additions & 209 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎examples/applications/image-qa/image_qa.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
from collections.abc import Awaitable
1818
from pathlib import Path
1919

20-
from hebbian_robot_use_client.environment import load_environment
21-
from hebbian_robot_use_client.station_client import Lease
22-
from hebbian_robot_use_client.station_types import CommandResult
2320
from openai import AsyncOpenAI
2421

2522
from hebbian_rua import StationClient
23+
from hebbian_rua.client.environment import load_environment
24+
from hebbian_rua.client.station_client import Lease
25+
from hebbian_rua.client.station_types import CommandResult
2626

2727
ARM = "follower"
2828
CAMERA = "table"

‎examples/applications/inspect-blocks/inspect_blocks.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
from pathlib import Path
1919
from typing import Any
2020

21-
from hebbian_robot_use_client.contract.station_api import ArmMode
22-
from hebbian_robot_use_client.environment import load_environment
23-
from hebbian_robot_use_client.station_client import Lease
24-
from hebbian_robot_use_client.station_types import CommandResult
2521
from openai import AsyncOpenAI
2622

2723
from hebbian_rua import RobotTools, StationClient
24+
from hebbian_rua.client.contract.station_api import ArmMode
25+
from hebbian_rua.client.environment import load_environment
26+
from hebbian_rua.client.station_client import Lease
27+
from hebbian_rua.client.station_types import CommandResult
2828
from hebbian_rua.openai import OpenAIRobotTools
2929

3030
ARM = "follower"

‎examples/python/agent_quickstart.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
import json
1010
from typing import Literal
1111

12-
from hebbian_robot_use_client.contract.station_api import ArmMode
13-
from hebbian_robot_use_client.environment import load_environment
14-
from hebbian_robot_use_client.station_client import DEFAULT_MEDIA_SERVER, DEFAULT_SERVER
15-
1612
from hebbian_rua import RobotTools, StationClient
13+
from hebbian_rua.client.contract.station_api import ArmMode
14+
from hebbian_rua.client.environment import load_environment
15+
from hebbian_rua.client.station_client import DEFAULT_MEDIA_SERVER, DEFAULT_SERVER
1716

1817
type Provider = Literal["openai", "anthropic", "gemini"]
1918

‎examples/python/hello_robot.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,20 @@
1313
import asyncio
1414
import os
1515

16-
from hebbian_robot_use_client.contract.station_api import (
16+
from hebbian_rua import StationClient
17+
from hebbian_rua.client.contract.station_api import (
1718
ArmMode,
1819
PreviewRefused,
1920
ProjectedPoseOutcome,
2021
QuaternionOrientation,
2122
UnavailableProjection,
2223
)
23-
from hebbian_robot_use_client.station_client import (
24+
from hebbian_rua.client.station_client import (
2425
DEFAULT_SERVER,
2526
JointSpeedRadiansPerSecond,
2627
WorldPositionMeters,
2728
)
2829

29-
from hebbian_rua import StationClient
30-
3130

3231
async def main() -> None:
3332
async with StationClient(

‎examples/python/pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ exclude-newer = "3 days"
1010

1111
[tool.uv.sources]
1212
hebbian-rua = { path = "../..", editable = true }
13-
hebbian-robot-use-client = { path = "../../hebbian_robot_use_client", editable = true }

‎examples/python/uv.lock‎

Lines changed: 5 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎executor/src/sim_plant.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//!
1616
//! Messages are one JSON object per line. These types are the contract:
1717
//! `hebbian-robot-use-server schema --sim-plant` writes their JSON Schema, and the Python
18-
//! models in `hebbian_robot_use_client` are generated from it.
18+
//! models in `hebbian_rua.client` are generated from it.
1919
2020
use std::io::{BufRead, BufReader, Write};
2121
use std::os::unix::net::{UnixListener, UnixStream};

‎hebbian_robot_use_client/LICENSE‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎hebbian_robot_use_client/hebbian_robot_use_client/__init__.py‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎hebbian_robot_use_client/pyproject.toml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)