Python wrapper and version management tool for the solc Solidity compiler.
77
Evaluation — 77%
↑ 1.05xAgent success when using this tile
Create a helper that imports an existing system installation of the Solidity compiler into the managed solc folder so it can be used like downloaded versions.
SOLCX_BINARY_PATH environment variable), import into that directory while leaving the default install root untouched. @test@generates
from pathlib import Path
from typing import Optional
def import_system_solc(binary_path: Optional[Path | str] = None, install_root: Optional[Path | str] = None) -> Path:
"""
Locate a system-installed solc binary (from binary_path or PATH), import it into the managed install folder,
and return the full path to the managed binary.
Raises an exception when no usable binary is found or the version is unsupported.
"""Python wrapper for installing and managing solc compiler binaries. Must be used for version detection, validating compatibility, and registering the imported binary within the managed install folder. @satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-py-solc-xevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10