Skip to main content

A package to get system information and benchmark CPU and GPU for all operating systems

Project description

SysBenchInfo

sysbenchinfo is a Python package designed to provide comprehensive details about your system's CPU, GPU, memory, and operating system. Additionally, it includes basic benchmarks for both the CPU and GPU.

Features

  • Obtain in-depth CPU details such as architecture, model, count, and frequency.
  • Get information about GPUs including name, load, memory usage, and temperature.
  • Access memory statistics including virtual and swap memory.
  • Retrieve OS details including system, node, release, version, machine, and processor.
  • Run simple benchmarks to measure CPU and GPU performance.

Installation

To install sysbenchinfo, use pip:

pip install SysBenchInfo

Usage

Here is an example of how to use sysbenchinfo in a Python environment:

C:\Users\humai\Downloads\Rameez\SysBenchInfo\dist>python
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from sysbenchinfo import get_system_info
>>>
>>> info = get_system_info()
>>> print(info)
{'cpu': {'architecture': 'AMD64', 'model': 'Intel64 Family 6 Model 186 Stepping 2, GenuineIntel', 'count': 12, 'frequency': {'current': 2100.0, 'min': 0.0, 'max': 2100.0}}, 'gpu': [{'id': 0, 'name': 'NVIDIA GeForce RTX 3050 6GB Laptop GPU', 'load': 0.0, 'free_memory': 6017.0, 'used_memory': 0.0, 'total_memory': 6144.0, 'temperature': 45.0}], 'memory': {'virtual_memory': {'total': 16802922496, 'available': 6167236608, 'percent': 63.3, 'used': 10635685888, 'free': 6167236608}, 'swap_memory': {'total': 3087007744, 'used': 100864000, 'free': 2986143744, 'percent': 3.3, 'sin': 0, 'sout': 0}}, 'os': {'system': 'Windows', 'node': 'Victus_HumaiRA', 'release': '11', 'version': '10.0.22631', 'machine': 'AMD64', 'processor': 'Intel64 Family 6 Model 186 Stepping 2, GenuineIntel'}, 'benchmarks': {'cpu_benchmark': 0.5434212000109255, 'gpu_benchmark': {'gpu_name': 'NVIDIA GeForce RTX 3050 6GB Laptop GPU', 'benchmark_time': 5.055665799998678}}}

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

sysbenchinfo-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

SysBenchInfo-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file sysbenchinfo-0.1.1.tar.gz.

File metadata

  • Download URL: sysbenchinfo-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sysbenchinfo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c6ca33d5283f66854060a35e8d0e098590fbfcb601983a3ecb6ef6119e318dc
MD5 e0e57fa06e5f387453ecc25e06788700
BLAKE2b-256 a1065c2466105cea6cda54a57abec2afbeaf7df3a23f843c47e8621cfecc9164

See more details on using hashes here.

File details

Details for the file SysBenchInfo-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for SysBenchInfo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c5667840680bcb4149d1ed32215eaf9626b63a936c6fc7c756570e22030a634
MD5 bc9e0fb4f0453d4883ea80f4d9111e50
BLAKE2b-256 36309a55e2534eecc614a34fd822baf753143409b00984e0c23364274849e85a

See more details on using hashes here.

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