Skip to main content

Show System Information

Test Release

Show System Information is a Python package that provides a simple way to display system information. It is designed to be easy to use and easy to understand. It is also easy to extend and customize.

Installation

pip install showsys

Visit ShowSys on PyPI for more details.

Usage

As a Library

You can use ShowSys as a library in your Python code. Here is an example.

from showsys import ShowSys
sysinfo = ShowSys()
sysinfo.info()

There are several methods available to display system information. You can use them to display different types of system information.

  • system_information
  • boot_time
  • cpu_info
  • memory_info
  • swap_info
  • network_info

Just call the method you want to use. For example, you can use the following code to display CPU information.

from showsys import ShowSys
sysinfo = ShowSys()
print(sysinfo.cpu_info())

It will display the following information.

{
    'Physical cores': 12,
    'Total cores': 20,
    'Max Frequency': '2100.00Mhz',
    'Min Frequency': '0.00Mhz',
    'Current Frequency': '2100.00Mhz',
    'CPU Usage Per Core': ['0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '15.4%', '3.1%', '0.0%', '1.6%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%', '0.0%'],
    'Total CPU Usage': '1.6%'
}

Command Line Interface

ShowSys also provides a command line interface. You can use it to display system information from the command line.

showsys -d # Display system information details

Other options are available. You can use the following command to see all available options.

showsys -h # Show help

Metadata

Release files for ShowSys 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ShowSys 1.0.1
File Size Uploaded
ShowSys-1.0.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ShowSys 1.0.1
File Interpreter ABI Platform
ShowSys-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / ShowSys-1.0.1.tar.gz

Download URL ShowSys-1.0.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
52872a0c751834ee51265237acdaaa6ead02d5832a57b8b02d74e5ac2bd3a4a5
BLAKE2b-256 checksum
How to use checksums
808d813da943eac4356c601a5eff2a879f3c73399adbe9472e5083f9bc1b6dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / ShowSys-1.0.1-py3-none-any.whl

Download URL ShowSys-1.0.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cefce5786426d4cfd897a469d17903a99a28654a8185af34479896133635fb1f
BLAKE2b-256 checksum
How to use checksums
b76beac91d8c71e9e4a789b9107df84b02f64a34d21f70f76839dc16e98838d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page