Skip to main content

The specs summarize utilities for computer instance

Project description

hardwareSummary

Extracting and Fetching all system and hardware information such as os details, CPU and GPU information, disk and network usage in Python using platform, psutil and gputil libraries.

install and use with pip

pip install nodespecs
python -m specs
python -c "import specs; specs.bench_cpu()"
python -c "import specs; specs.info_gpu()"
# for the machine not compatible with psutil
python -m specs -l=1

python -m specs -u="bcpu"
python -m specs -u="upload"
python -m specs -u="server"
python -m specs -u="cld" -ip='172.25.1.228'
## server
python -c "import specs; specs.__version__"

python -c "import specs; specs.whoish()"
python -c "import specs; specs.server()"
## client upload wt progress bar
python -c "import specs; specs.client('172.25.1.175', 12345,'./README.md',False)"

## client upload wo progress bar
python -c "import specs; specs.client('172.25.1.175', 12345,'./README.md',False)"
## client upload top level files in the cwd
python -c "import specs; specs.clientd('192.168.0.157')"
python -c "import specs; specs.clientd('192.168.0.157', 12345)"
sudo apt update
sudo apt install python3-pip
python3 -m pip install nodespecs && python3 -m specs
import specs

specs.info_gpu()
specs.bench_cpu()

Deprecated (install and use with git)

!git clone https://github.com/jinsanity07git/hardwareSummary && python hardwareSummary/hardware.py && python hardwareSummary/cpu-benchmark.py

git clone https://github.com/jinsanity07git/hardwareSummary && python hardwareSummary/hardware.py && python hardwareSummary/cpu-benchmark.py
sudo apt upgrade
sudo apt install python3-pip
git clone https://github.com/jinsanity07git/hardwareSummary && python3 hardwareSummary/hardware.py && python3 hardwareSummary/cpu-benchmark.py

CPU collection

Nickname CPU Arch OS Benchmarking Comb Score
TC14 13th Gen Intel(R) Core(TM) i9-13900K AMD64 Windows 10 12.991 Core-i9-13900K 38.76
TC17
TC16
Intel(R) Core(TM) i9-14900KF AMD64 Windows 15.654 Core-i9-14900KF 39.25
iPhone 14 Pro Max
iPhone15,3[^3]
Apple A16 Bionic[^2] arm64e Darwin 23.4.0 15.962
TC19 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz sAMD64 Windows 10 20.534 Core-i7-9700K 9.45
Dell Precision 3561 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz AMD64 Windows 23.852 Core-i7-11800H 13.47
github codespaces AMD EPYC 7763 64-Core Processor x86_64 Linux 24.259 EPYC-7763 54.65
TC07 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz AMD64 Windows 26.723 Core-i7-9700K 9.45
oracle cloudshell ARM Cortex-A53 aarch64 Linux 27.489
AWS t2.micro Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz x86_64 Linux 27.785 Core-i7-9700K 8.81
google cloudshell Intel(R) Xeon(R) CPU @ 2.20GHz x86_64 Linux 29.818
WUYING: 8 vCPU / 16 GiB Linux Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz x86_64 Linux 33.572 Xeon-Platinum-8163
TC03
TC11
Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz AMD64 Window 34.612 Xeon-Gold-6248R 23.26
2018 Macbook pro Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz x86_64 Darwin 22.1.0 37.105 Core-i7-8559U 5.38
JVM Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz x86_64 Linux 38.685 Xeon-Gold-6126 12.21
TC01 Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz AMD64 Windows 39.258 Xeon-E5-2643-v4 7.62
Jquant Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz x86_64 Linux 40.128 Xeon-Platinum-8163
google colab free tier Intel(R) Xeon(R) CPU @ 2.20GHz x86_64 Linux 43.078
aws cloudshell Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz x86_64 Linux 49.396
JVM Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz AMD64 Windows 62.969
binder-examples/conda[^4] Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz x86_64 Linux 74.349 Xeon-Gold-6140 15.8
serv00-FreeBSD Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz AMD64 Linux 75.571
Oracle 1G-1G-0.5Gbps AMD EPYC 7551 32-Core Processor x86_64 Linux 98.732 EPYC-7551 14.67
mini PC Intel(R) Atom(TM) x5-Z8350 CPU @ 1.44GHz x86_64 Linux 135.107 Atom-x5-Z8350 0.57
  • Note
    • Kinds of Arch explanation[^1]

GPU collection

id name total memory Synthetic benchmark CUDA API
17 NVIDIA GeForce RTX 4060 8188.0MB 50.69 NA
colab Tesla T4 15360.0MB 28.16 70627
dell NVIDIA T600 Laptop GPU 4096.0MB 16.69 26600
01 Quadro M4000 8192.0MB 17.27 16648

Feature in develop

  1. work through ws, transfer file using websocket
  2. py-ios-device python based Apple instruments protocol,you can get CPU, Memory and
  • Streaming upload server in Python extended from uploadserver.other metrics from real iOS devices

Performance source

[^1]: mainstream CPU architecture [^2]: Apple A16 [^3]: apple ios devices name

[^4]: binder: Get your own copy of this repository

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

nodespecs-0.0.26.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

nodespecs-0.0.26-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file nodespecs-0.0.26.tar.gz.

File metadata

  • Download URL: nodespecs-0.0.26.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for nodespecs-0.0.26.tar.gz
Algorithm Hash digest
SHA256 23d5d391ddeeadc261753753431c7ab6bca5b12b33be5831ed49e327231965a8
MD5 04f0b692085b6b028617205f610b405e
BLAKE2b-256 9a804f9d60ed72448e2caa7a8a78ed276440caee2b5816c990ee170b21c74a46

See more details on using hashes here.

File details

Details for the file nodespecs-0.0.26-py3-none-any.whl.

File metadata

  • Download URL: nodespecs-0.0.26-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for nodespecs-0.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 d21222e87fadcb52f1295acd185da232a4701a7e52a7ff9109af6fdfe7982adf
MD5 7cf19f279b01ba65d2a0b01d41482f9a
BLAKE2b-256 d1df942ee12f0c445c3e624575dfce06ac8655eb8fc9aea9c34e24fe130be001

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