Python wrapper and version management tool for the solc Solidity compiler.
77
Evaluation — 77%
↑ 1.05xAgent success when using this tile
A utility module for reporting and switching the default Solidity compiler version managed by a package-provided solc installation manager.
@generates
def get_active_compiler() -> str:
"""Return the default Solidity compiler version string currently in use."""
def set_compiler_version(version: str) -> str:
"""
Set the default Solidity compiler to the given installed version string.
Returns the version string selected.
Raises an error if the requested version is not available.
"""
def select_version_for_pragma(pragma: str) -> str:
"""
Choose the highest installed compiler version that satisfies a Solidity pragma expression
(e.g., "^0.8.0"), set it as the default, and return the version string.
Raises an error when no installed version satisfies the pragma.
"""Provides access to managed Solidity compiler installations and version selection utilities.
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