Name | nodespecs JSON |
Version |
0.0.26
JSON |
| download |
home_page | None |
Summary | The specs summarize utilities for computer instance |
upload_time | 2024-05-29 14:18:37 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | The MIT License (MIT) Copyright © 2024 <copyright holders> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
cpu
gpu
benchmark
|
VCS |
|
bugtrack_url |
|
requirements |
tabulate
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```shell
pip install nodespecs
python -m specs
python -c "import specs; specs.bench_cpu()"
python -c "import specs; specs.info_gpu()"
```
```shell
# 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'
```
```shell
## 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
```
```python
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
```
```cmd
git clone https://github.com/jinsanity07git/hardwareSummary && python hardwareSummary/hardware.py && python hardwareSummary/cpu-benchmark.py
```
```bash
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<br />TC16 | Intel(R) Core(TM) i9-14900KF | AMD64 | Windows | 15.654 | Core-i9-14900KF | 39.25 |
| iPhone 14 Pro Max<br />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](https://technical.city/en/cpu/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](https://technical.city/en/cpu/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](https://versus.com/en/intel-xeon-gold-6126-vs-intel-xeon-platinum-8168) | |
| TC03<br />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](https://technical.city/en/cpu/Core-i7-8559U) | 5.38 |
| JVM | Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz | x86_64 | Linux | 38.685 | [Xeon-Gold-6126](https://technical.city/en/cpu/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](https://github.com/binder-examples/conda)[^4] | Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz | x86_64 | Linux | 74.349 | [Xeon-Gold-6140](https://technical.city/en/cpu/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](https://websockets.readthedocs.io/en/stable/intro/index.html), transfer file using `websocket`
2. [py-ios-device](https://github.com/YueChen-C/py-ios-device) python based Apple instruments protocol,you can get CPU, Memory and
* [x] Streaming upload server in Python extended from [uploadserver](https://github.com/Densaugeo/uploadserver).other metrics from real iOS devices
Performance source
* https://browser.geekbench.com/
*
* https://technical.city/en/video/GeForce-RTX-4060-vs-Tesla-T4
* https://technical.city/en/video/Tesla-T4-vs-T600
[^1]: [mainstream CPU architecture](https://jinsanity07git.github.io/post/mainstream%20CPU%20architecture.html)
[^2]: [Apple A16](https://en.wikipedia.org/wiki/Apple_A16)
[^3]: [apple ios devices name](https://www.innerfence.com/howto/apple-ios-devices-dates-versions-instruction-sets)
[^4]: binder: [Get your own copy of this repository](https://mybinder.readthedocs.io/en/latest/introduction.html)
Raw data
{
"_id": null,
"home_page": null,
"name": "nodespecs",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "cpu, gpu, benchmark",
"author": null,
"author_email": "jinsanity <jinsanityff@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/9a/80/4f9d60ed72448e2caa7a8a78ed276440caee2b5816c990ee170b21c74a46/nodespecs-0.0.26.tar.gz",
"platform": null,
"description": "# hardwareSummary\r\nExtracting 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.\r\n\r\n\r\n\r\n### install and use with pip\r\n\r\n```shell\r\npip install nodespecs\r\npython -m specs\r\npython -c \"import specs; specs.bench_cpu()\"\r\npython -c \"import specs; specs.info_gpu()\"\r\n```\r\n\r\n```shell\r\n# for the machine not compatible with psutil\r\npython -m specs -l=1\r\n\r\npython -m specs -u=\"bcpu\"\r\npython -m specs -u=\"upload\"\r\npython -m specs -u=\"server\"\r\npython -m specs -u=\"cld\" -ip='172.25.1.228'\r\n```\r\n\r\n```shell\r\n## server\r\npython -c \"import specs; specs.__version__\"\r\n\r\npython -c \"import specs; specs.whoish()\"\r\npython -c \"import specs; specs.server()\"\r\n## client upload wt progress bar\r\npython -c \"import specs; specs.client('172.25.1.175', 12345,'./README.md',False)\"\r\n\r\n## client upload wo progress bar\r\npython -c \"import specs; specs.client('172.25.1.175', 12345,'./README.md',False)\"\r\n## client upload top level files in the cwd\r\npython -c \"import specs; specs.clientd('192.168.0.157')\"\r\npython -c \"import specs; specs.clientd('192.168.0.157', 12345)\"\r\n```\r\n\r\n```\r\nsudo apt update\r\nsudo apt install python3-pip\r\npython3 -m pip install nodespecs && python3 -m specs\r\n```\r\n\r\n\r\n\r\n```python\r\nimport specs\r\n\r\nspecs.info_gpu()\r\nspecs.bench_cpu()\r\n```\r\n\r\n\r\n\r\n\r\n\r\n#### Deprecated (install and use with git)\r\n\r\n```\r\n!git clone https://github.com/jinsanity07git/hardwareSummary && python hardwareSummary/hardware.py && python hardwareSummary/cpu-benchmark.py\r\n\r\n```\r\n\r\n```cmd\r\ngit clone https://github.com/jinsanity07git/hardwareSummary && python hardwareSummary/hardware.py && python hardwareSummary/cpu-benchmark.py\r\n\r\n```\r\n\r\n```bash\r\nsudo apt upgrade\r\nsudo apt install python3-pip\r\ngit clone https://github.com/jinsanity07git/hardwareSummary && python3 hardwareSummary/hardware.py && python3 hardwareSummary/cpu-benchmark.py\r\n```\r\n\r\n\r\n\r\n### CPU collection\r\n\r\n\r\n| Nickname | CPU | Arch | OS | Benchmarking | Comb | Score |\r\n| ------------------------------------------------------------ | ---------------------------------------------- | ------- | ------------- | ------------ | ------------------------------------------------------------ | ----- |\r\n| TC14 | 13th Gen Intel(R) Core(TM) i9-13900K | AMD64 | Windows 10 | 12.991 | Core-i9-13900K | 38.76 |\r\n| TC17<br />TC16 | Intel(R) Core(TM) i9-14900KF | AMD64 | Windows | 15.654 | Core-i9-14900KF | 39.25 |\r\n| iPhone 14 Pro Max<br />iPhone15,3[^3] | Apple A16 Bionic[^2] | arm64e | Darwin 23.4.0 | 15.962 | | |\r\n| TC19 | Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz | sAMD64 | Windows 10 | 20.534 | Core-i7-9700K | 9.45 |\r\n| Dell Precision 3561 | 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | AMD64 | Windows | 23.852 | Core-i7-11800H | 13.47 |\r\n| github codespaces | AMD EPYC 7763 64-Core Processor | x86_64 | Linux | 24.259 | [EPYC-7763](https://technical.city/en/cpu/EPYC-7763) | 54.65 |\r\n| TC07 | Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz | AMD64 | Windows | 26.723 | Core-i7-9700K | 9.45 |\r\n| oracle cloudshell | ARM Cortex-A53 | aarch64 | Linux | 27.489 | | |\r\n| AWS `t2.micro` | Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz | x86_64 | Linux | 27.785 | [Core-i7-9700K](https://technical.city/en/cpu/Core-i7-9700K) | 8.81 |\r\n| google cloudshell | Intel(R) Xeon(R) CPU @ 2.20GHz | x86_64 | Linux | 29.818 | | |\r\n| WUYING: 8 vCPU / 16 GiB Linux | Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz | x86_64 | Linux | 33.572 | [Xeon-Platinum-8163](https://versus.com/en/intel-xeon-gold-6126-vs-intel-xeon-platinum-8168) | |\r\n| TC03<br />TC11 | Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz | AMD64 | Window | 34.612 | Xeon-Gold-6248R | 23.26 |\r\n| 2018 Macbook pro | Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz | x86_64 | Darwin 22.1.0 | 37.105 | [Core-i7-8559U](https://technical.city/en/cpu/Core-i7-8559U) | 5.38 |\r\n| JVM | Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz | x86_64 | Linux | 38.685 | [Xeon-Gold-6126](https://technical.city/en/cpu/Xeon-Gold-6126) | 12.21 |\r\n| TC01 | Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz | AMD64 | Windows | 39.258 | Xeon-E5-2643-v4 | 7.62 |\r\n| Jquant | Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz | x86_64 | Linux | 40.128 | Xeon-Platinum-8163 | |\r\n| google colab free tier | Intel(R) Xeon(R) CPU @ 2.20GHz | x86_64 | Linux | 43.078 | | |\r\n| aws cloudshell | Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz | x86_64 | Linux | 49.396 | | |\r\n| JVM | Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz | AMD64 | Windows | 62.969 | | |\r\n| [binder-examples/conda](https://github.com/binder-examples/conda)[^4] | Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz | x86_64 | Linux | 74.349 | [Xeon-Gold-6140](https://technical.city/en/cpu/Xeon-Gold-6140) | 15.8 |\r\n| serv00-FreeBSD | Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz | AMD64 | Linux | 75.571 | | |\r\n| Oracle 1G-1G-0.5Gbps | AMD EPYC 7551 32-Core Processor | x86_64 | Linux | 98.732 | EPYC-7551 | 14.67 |\r\n| mini PC | Intel(R) Atom(TM) x5-Z8350 CPU @ 1.44GHz | x86_64 | Linux | 135.107 | Atom-x5-Z8350 | 0.57 |\r\n\r\n* Note\r\n * Kinds of Arch explanation[^1] \r\n\r\n\r\n### GPU collection\r\n\r\n| id | name | total memory | Synthetic benchmark | CUDA API |\r\n| ----- | ----------------------- | ------------ | ------------------- | -------- |\r\n| 17 | NVIDIA GeForce RTX 4060 | 8188.0MB | 50.69 | NA |\r\n| colab | Tesla T4 | 15360.0MB | 28.16 | 70627 |\r\n| dell | NVIDIA T600 Laptop GPU | 4096.0MB | 16.69 | 26600 |\r\n| 01 | Quadro M4000 | 8192.0MB | 17.27 | 16648 |\r\n\r\n\r\n\r\n\r\n## Feature in develop\r\n\r\n1. work through [ws](https://websockets.readthedocs.io/en/stable/intro/index.html), transfer file using `websocket`\r\n2. [py-ios-device](https://github.com/YueChen-C/py-ios-device) python based Apple instruments protocol\uff0cyou can get CPU, Memory and \r\n* [x] Streaming upload server in Python extended from [uploadserver](https://github.com/Densaugeo/uploadserver).other metrics from real iOS devices\r\n\r\n\r\n\r\n\r\n\r\nPerformance source\r\n\r\n* https://browser.geekbench.com/\r\n * \r\n* https://technical.city/en/video/GeForce-RTX-4060-vs-Tesla-T4\r\n* https://technical.city/en/video/Tesla-T4-vs-T600\r\n\r\n[^1]: [mainstream CPU architecture](https://jinsanity07git.github.io/post/mainstream%20CPU%20architecture.html)\r\n[^2]: [Apple A16](https://en.wikipedia.org/wiki/Apple_A16) \r\n[^3]: [apple ios devices name](https://www.innerfence.com/howto/apple-ios-devices-dates-versions-instruction-sets)\r\n\r\n[^4]: binder: [Get your own copy of this repository](https://mybinder.readthedocs.io/en/latest/introduction.html)\r\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright \u00a9 2024 <copyright holders> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "The specs summarize utilities for computer instance",
"version": "0.0.26",
"project_urls": {
"Homepage": "https://github.com/jinsanity07git/nodespecs"
},
"split_keywords": [
"cpu",
" gpu",
" benchmark"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d1df942ee12f0c445c3e624575dfce06ac8655eb8fc9aea9c34e24fe130be001",
"md5": "7cf19f279b01ba65d2a0b01d41482f9a",
"sha256": "d21222e87fadcb52f1295acd185da232a4701a7e52a7ff9109af6fdfe7982adf"
},
"downloads": -1,
"filename": "nodespecs-0.0.26-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7cf19f279b01ba65d2a0b01d41482f9a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 35382,
"upload_time": "2024-05-29T14:18:36",
"upload_time_iso_8601": "2024-05-29T14:18:36.400868Z",
"url": "https://files.pythonhosted.org/packages/d1/df/942ee12f0c445c3e624575dfce06ac8655eb8fc9aea9c34e24fe130be001/nodespecs-0.0.26-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9a804f9d60ed72448e2caa7a8a78ed276440caee2b5816c990ee170b21c74a46",
"md5": "04f0b692085b6b028617205f610b405e",
"sha256": "23d5d391ddeeadc261753753431c7ab6bca5b12b33be5831ed49e327231965a8"
},
"downloads": -1,
"filename": "nodespecs-0.0.26.tar.gz",
"has_sig": false,
"md5_digest": "04f0b692085b6b028617205f610b405e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 33426,
"upload_time": "2024-05-29T14:18:37",
"upload_time_iso_8601": "2024-05-29T14:18:37.637604Z",
"url": "https://files.pythonhosted.org/packages/9a/80/4f9d60ed72448e2caa7a8a78ed276440caee2b5816c990ee170b21c74a46/nodespecs-0.0.26.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-29 14:18:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jinsanity07git",
"github_project": "nodespecs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "tabulate",
"specs": [
[
"==",
"0.8.0"
]
]
}
],
"lcname": "nodespecs"
}