idmtools.core.system_information module¶
-
idmtools.core.system_information.
get_data_directory
() → str¶
-
idmtools.core.system_information.
get_filtered_environment_vars
(exclude=None)¶
-
class
idmtools.core.system_information.
SystemInformation
(data_directory: Union[str, NoneType] = '/home/runner/.local_data', user: Union[str, NoneType] = 'runner', python_version: str = '3.7.9', python_build: str = ('default', 'Aug 18 2020 13:17:47'), python_packages: List[str] = <factory>, environment_variables: Dict[str, str] = <factory>, os_name: str = 'Linux', hostname: str = 'fv-az184', system_version: str = '#25~18.04.1-Ubuntu SMP Sat Sep 5 15:28:57 UTC 2020', system_architecture: str = 'x86_64', system_processor: str = 'x86_64', system_architecture_details: str = ('64bit', ''), default_docket_socket_path: str = '/var/run/docker.sock', cwd: str = '/home/runner/work/idmtools/idmtools/idmtools/docs', user_group_str: str = '1000:1000', version: str = '1.5.1.0')¶ Bases:
object
-
data_directory
: Optional[str] = '/home/runner/.local_data'¶
-
user
: Optional[str] = 'runner'¶
-
python_version
: str = '3.7.9'¶
-
python_build
: str = ('default', 'Aug 18 2020 13:17:47')¶
-
python_implementation
= 'CPython'¶
-
python_packages
: List[str]¶
-
environment_variables
: Dict[str, str]¶
-
os_name
: str = 'Linux'¶
-
hostname
: str = 'fv-az184'¶
-
system_version
: str = '#25~18.04.1-Ubuntu SMP Sat Sep 5 15:28:57 UTC 2020'¶
-
system_architecture
: str = 'x86_64'¶
-
system_processor
: str = 'x86_64'¶
-
system_architecture_details
: str = ('64bit', '')¶
-
default_docket_socket_path
: str = '/var/run/docker.sock'¶
-
cwd
: str = '/home/runner/work/idmtools/idmtools/idmtools/docs'¶
-
user_group_str
: str = '1000:1000'¶
-
version
: str = '1.5.1.0'¶
-
-
class
idmtools.core.system_information.
LinuxSystemInformation
(data_directory: Union[str, NoneType] = '/home/runner/.local_data', user: Union[str, NoneType] = 'runner', python_version: str = '3.7.9', python_build: str = ('default', 'Aug 18 2020 13:17:47'), python_packages: List[str] = <factory>, environment_variables: Dict[str, str] = <factory>, os_name: str = 'Linux', hostname: str = 'fv-az184', system_version: str = '#25~18.04.1-Ubuntu SMP Sat Sep 5 15:28:57 UTC 2020', system_architecture: str = 'x86_64', system_processor: str = 'x86_64', system_architecture_details: str = ('64bit', ''), default_docket_socket_path: str = '/var/run/docker.sock', cwd: str = '/home/runner/work/idmtools/idmtools/idmtools/docs', user_group_str: str = <factory>, version: str = '1.5.1.0')¶
-
class
idmtools.core.system_information.
WindowsSystemInformation
(data_directory: Optional[str] = '/home/runner/.local_data', user: Optional[str] = 'runner', python_version: str = '3.7.9', python_build: str = ('default', 'Aug 18 2020 13:17:47'), python_packages: List[str] = <factory>, environment_variables: Dict[str, str] = <factory>, os_name: str = 'Linux', hostname: str = 'fv-az184', system_version: str = '#25~18.04.1-Ubuntu SMP Sat Sep 5 15:28:57 UTC 2020', system_architecture: str = 'x86_64', system_processor: str = 'x86_64', system_architecture_details: str = ('64bit', ''), default_docket_socket_path: str = '/var/run/docker.sock', cwd: str = '/home/runner/work/idmtools/idmtools/idmtools/docs', user_group_str: str = '1000:1000', version: str = '1.5.1.0')¶ Bases:
idmtools.core.system_information.SystemInformation
-
default_docket_socket_path
: str = '//var/run/docker.sock'¶
-
-
idmtools.core.system_information.
get_system_information
() → idmtools.core.system_information.SystemInformation¶ Fetch the system-appropriate information inspection object.
- Returns
SystemInformation
with platform-specific implementation.