solitude.tools module¶
-
class
solitude.tools.
Tool
(tooldir: str, name: str, version: str)[source]¶ Bases:
object
An external tool that can be installed on the local filesystem and used
-
__init__
(tooldir: str, name: str, version: str)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
get
(key: str) → str[source]¶ Get a module from the tool
Parameters: key – a string key (name) associated with the module, usually the name of the file. Returns: the filesystem path of the module location
-
name
¶ Tool name
-
provided
¶ Get the provided modules
Returns: dict of (key -> path) of all modules provided by the tool
-
version
¶ Tool version string
-
-
solitude.tools.
Solc
¶ alias of
solitude.tools.solc.SolcNativeLinux