Download src/core/tools/__init__.py from openenv/repl: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/openenv/repl/resolve/main/src/core/tools/__init__.py
- Command line
-
hf download hf://spaces/openenv/repl/src/core/tools/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/openenv/repl/resolve/main/src/core/tools/__init__.py
436 Bytes
| # SPDX-License-Identifier: BSD-3-Clause | |
| """Core tools for code execution and other utilities.""" | |
| from .git_server_client import GitServerClient, RepoInfo | |
| try: | |
| from .local_python_executor import PyExecutor | |
| except ModuleNotFoundError: | |
| # smolagents is optional for environments that only need Git tooling. | |
| PyExecutor = None # type: ignore[assignment] | |
| __all__ = [ | |
| "PyExecutor", | |
| "GitServerClient", | |
| "RepoInfo", | |
| ] | |