Skip to main content

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

Project description

Sure! Here's a rephrased version for sysbenchinfo:


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.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sysbenchinfo-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 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.0.tar.gz
Algorithm Hash digest
SHA256 4f332ed538e7d07626b719308b353d1f268e50288714d9c9e0402e82d49397a8
MD5 a707bcad8682a389f37dce45d1d2df15
BLAKE2b-256 4ab8443b28a9e9bd38bc6c8069832582e45c2160328d3b35b6bf2ef166f6adb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for SysBenchInfo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed8596349c493f91c9542511ae199be85334a71a26110474e6947d4939316c01
MD5 655000eefd9f2d17a629821e7993b1b6
BLAKE2b-256 34de3a4daa7c41d75dab15e4d25331104b68693d62983ddaf1e3f99bfb776140

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