Team Ai
Apppublic

codecrypt112/openenv-hackathon-ctrlaltwin-tiffenpacker

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
client.py29 linesDownload Raw Back to tiffin_packer
1# Copyright (c) 2026 CtrlAltWin Team2"""3Tiffin Packer Environment Client.4 5Provides the client for connecting to a running TiffinPackingEnvironment server.6"""7 8try:9    from openenv.core.env_client import EnvClient10except ImportError:11    # Fallback if openenv not installed12    EnvClient = object13 14from .models import TiffinAction, TiffinObservation15 16 17class TiffinEnv(EnvClient):18    """19    Client for the Tiffin Packing Environment.20 21    Example:22        >>> with TiffinEnv(base_url="http://localhost:7860").sync() as env:23        ...     obs = env.reset(task_id="easy")24        ...     obs = env.step(TiffinAction(command="observe"))25        ...     print(obs.scene_description)26    """27 28    pass  # EnvClient provides all needed functionality29