Spaces:
Sleeping
Sleeping
| """OpenEnv root package shim. | |
| The OpenEnv CLI's ``validate_env_structure`` expects ``__init__.py``, | |
| ``client.py``, and ``models.py`` to exist at the env-directory root — | |
| the convention where "the env *is* the package". Our actual code lives | |
| under ``physix/`` so the wheel builds cleanly and tests / training | |
| imports stay at ``from physix.* import ...``. These root shims simply | |
| re-export from ``physix`` so OpenEnv's auto-discovery (which Pascal- | |
| cases ``name: physix`` to ``Physix*`` in client.py) finds the symbols | |
| it expects without duplicating any implementation. | |
| NOTE: Inside the deployed Space the package installed via | |
| ``pip install -e .`` is ``physix`` (see ``[tool.hatch.build.targets.wheel]`` | |
| in pyproject.toml). These root files are *only* loaded by the OpenEnv | |
| CLI's local validator and by users who import the env-directory as a | |
| package; they are never imported at runtime by the FastAPI server. | |
| """ | |
| from physix import ( # noqa: F401 | |
| GRAMMAR_HINT, | |
| PhysiXAction, | |
| PhysiXEnv, | |
| PhysiXObservation, | |
| PhysiXState, | |
| RewardBreakdown, | |
| __version__, | |
| ) | |
| __all__ = [ | |
| "PhysiXEnv", | |
| "PhysiXAction", | |
| "PhysiXObservation", | |
| "PhysiXState", | |
| "RewardBreakdown", | |
| "GRAMMAR_HINT", | |
| "__version__", | |
| ] | |