nodespecs


Namenodespecs JSON
Version 0.0.15 PyPI version JSON
download
home_pageNone
SummaryThe specs summarize utilities for computer instance
upload_time2024-05-06 15:43:32
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseThe 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"
```

```shell
## server
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)"
```

```
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       |                                                              |       |
| Dell Precision 3561                   | 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | AMD64   | Windows       | 23.852       | Core-i7-11800H                                               | 13.47 |
| 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       |                                                              |       |
| 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. Streaming upload server in Python extended from [uploadserver](https://github.com/Densaugeo/uploadserver).
2. work through [ws](https://websockets.readthedocs.io/en/stable/intro/index.html), transfer file using `websocket`
3. [py-ios-device](https://github.com/YueChen-C/py-ios-device) python based Apple instruments protocol,you can get CPU, Memory and 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)




            

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/c2/39/9f4b429416907d8e97ccfa6dfca84d1f2c10a8e8fb17556bbf97b3bc1ca1/nodespecs-0.0.15.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\n```\r\n\r\n```shell\r\n## server\r\npython -c \"import specs; specs.server()\"\r\n\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```\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| Dell Precision 3561                   | 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | AMD64   | Windows       | 23.852       | Core-i7-11800H                                               | 13.47 |\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| 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### 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\n1. Streaming upload server in Python extended from [uploadserver](https://github.com/Densaugeo/uploadserver).\r\n2. work through [ws](https://websockets.readthedocs.io/en/stable/intro/index.html), transfer file using `websocket`\r\n3. [py-ios-device](https://github.com/YueChen-C/py-ios-device) python based Apple instruments protocol\uff0cyou can get CPU, Memory and 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\r\n\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.15",
    "project_urls": {
        "Homepage": "https://github.com/jinsanity07git/nodespecs"
    },
    "split_keywords": [
        "cpu",
        " gpu",
        " benchmark"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "acd7e0931e15b5ce30f674128b2f1adc5c3c47db82a85af3984f1e922651f3d5",
                "md5": "e333fc6ac9550363ba22eda6bb9748e7",
                "sha256": "4286c7dba90b5a51bf83ca9fe3e58fbb8652eea32aeb8794003c43d05fe9ef80"
            },
            "downloads": -1,
            "filename": "nodespecs-0.0.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e333fc6ac9550363ba22eda6bb9748e7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 36270,
            "upload_time": "2024-05-06T15:43:31",
            "upload_time_iso_8601": "2024-05-06T15:43:31.201717Z",
            "url": "https://files.pythonhosted.org/packages/ac/d7/e0931e15b5ce30f674128b2f1adc5c3c47db82a85af3984f1e922651f3d5/nodespecs-0.0.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c2399f4b429416907d8e97ccfa6dfca84d1f2c10a8e8fb17556bbf97b3bc1ca1",
                "md5": "da8a7779210e0fd46fe294c60510eaab",
                "sha256": "8c1547f03957dc9e801c953e0227ca1de5139681b2984dfba4d1b1bb017ebad0"
            },
            "downloads": -1,
            "filename": "nodespecs-0.0.15.tar.gz",
            "has_sig": false,
            "md5_digest": "da8a7779210e0fd46fe294c60510eaab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 34157,
            "upload_time": "2024-05-06T15:43:32",
            "upload_time_iso_8601": "2024-05-06T15:43:32.481902Z",
            "url": "https://files.pythonhosted.org/packages/c2/39/9f4b429416907d8e97ccfa6dfca84d1f2c10a8e8fb17556bbf97b3bc1ca1/nodespecs-0.0.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-06 15:43:32",
    "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"
}
        
Elapsed time: 0.31854s