SysAll is a library that aims to make it easier for python developers, to use/manipulate data from the Windows environment.
With this tool, you will be able to access many system and network features. All this with functions that can be modified at will and in a single library.
pip install sysallpip install --upgrade sysallIf you want to contact me for questions, bugs, or problems or other : lixnew2@gmail.com
Sysall was written for python 3.
Returns operating system name, version, release.
get_os()
# You can use the arguments of the function to return or not certain elements. By default they are all on True.
# If you put them all on False, the function will return 'None'.
args = name, version, releaseReturns device name
get_device_name()Returns the name of the account currently connected to the operating system.
get_hostname()Returns appdata hostname and path
get_appdata()
# You can use the arguments of the function to return or not certain elements. By default they are all on True.
# If you put them all on False, the function will return 'None'.
args = hostname, appdata_pathReturns the memory size : Mo
get_memory()Returns the processor brand (Intel, AMD), frequency and cores.
get_cpu_info()
# You can use the arguments of the function to return or not certain elements. By default they are all on True.
# If you put them all on False, the function will return 'None'.
args = brand, cpu_frequency, coresReturns the type of the graphics card
get_gpu_info()
# You can use the arguments of the function to return or not certain elements. By default they are all on True.
# If you put them all on False, the function will return 'None'.
args = name, ram, driver_versionReturns the informations of the disk : total free, used
get_disk_infos()
# You can use the arguments of the function to return or not certain elements. By default they are all on True.
# If you put them all on False, the function will return 'None'.
args = path, total, free, usedReturns the IPv4 address
get_IPv4()Returns the MAC address
get_MAC()Returns the public address
get_public_ip()Returns the default gateway address
get_gateway()Returns the address of the sub-mask
get_submask()Returns the address of the DNS server
get_DNS()Returns the DHCP status
get_DHCP_status()Returns the address of the DHCP server
get_DHCP()Returns the type of node
get_node_type()Returns WINS Proxy status
get_WINS_proxy_status()Returns IP routing status
get_IP_routing_status()Returns main DNS suffix
get_main_DNS_suffix()Returns Autoconfiguration status
get_automtic_config()