Skip to main content

Tool to easily retrieve information from the environment and the network

Project description

SysAll

sysall Downloads sysall Version sysall Python Version

SysAll is a tool that allows you to retrieve information about the environment, such as the name of the operating system, processor, RAM, IP address, MAC address of the machine.

It gathers the functionalities of several libraries such as wmi, psutil, platform, getmac, socket in one to facilitate the use/manipulation of environment data for Python programmers.

Installs


pip install sysall

Support

If you want to contact me for questions, bugs, or problems or other : lixnew2@gmail.com

Getting started

Python version

Sysall was written for python 3.

Functions

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 : bool = True, version : bool = True, release : bool = True

Returns 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 : bool = True, appdata_path : bool = True

Returns the memory size : Mo

get_memory()

Return 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: bool = True , cpu_frequency: bool = True, cores: bool = True

Returns 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: bool = True, ram: bool = True, driver_version: bool = True

Returns the IPv4 address

get_IPv4()

Returns the MAC address

get_MAC()

Return the public address

get_public_ip()

Return 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: str = 'C', total : bool = True, free: bool = True, used: bool = True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sysall-1.0.7.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

sysall-1.0.7-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page