diff options
Diffstat (limited to 'clusterman')
| -rw-r--r-- | clusterman/__main__.py | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/clusterman/__main__.py b/clusterman/__main__.py index 413293b..7700eec 100644 --- a/clusterman/__main__.py +++ b/clusterman/__main__.py @@ -1,25 +1,4 @@ -import platform -from typing import NamedTuple - -class SystemInformations(NamedTuple): - """System Informations Data Structure""" - hostname: str - arch: str - os: str - release: str - -def sysinfos_create(): - global SYSINFOS - uname = platform.uname() - SYSINFOS=SystemInformations( - uname.node, - uname.machine, - uname.system, - uname.release - ) - print(SYSINFOS) - def main(): print("It works!") - sysinfos_create() + |
