system_info
- system_info is a package for finding system hardware specifications.
- It is cross-platform package, which you can run on Linux, Windows and macOS.
Note: For Linux system it requires sudo user password and dmidecode should be installed.
system_info provides following information
- Processor
- CPU (Total CPU count)
- Total Disk Space
- Available Space
- Host Name
- Ip
- Operating System
- OS Version
- CPU_Core
- HD Size
- Manufacturer
- Model
- Ram_Type
- Ram_Type
- HD Type
- Serial_Number
It can be used as
from system_info import sysinfo
system_hardware_details = sysinfo.sysInfo
Sample result for Linux :
{'Processor': 'Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz', 'CPU': 4, 'Total Disk Space': '454GB', 'Available Space': '231GB', 'Host Name': 'XXXXX', 'Ip': 'xxx.xxx.xx.xxx', 'Operating System': 'Ubuntu', 'OS Version': '14.04', 'CPU_Core': '2', 'HD Size': '500GB', 'Manufacturer': 'Dell Inc.', 'Model': 'Latitude 3560', 'Ram_Type': 'DDR3', 'Ram_Size': '8 GB', 'HD_Type': 'SATA controller', 'Serial_Number': 'XXXXXXX'}
Sample result for Windows :
{'Processor': 'Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz', 'CPU': 1, 'Ip': 'xxx.xxx.xx.xxx', 'OS Version': '10.0.10240', 'Total Disk Space': '49 GB', 'HD Size': '49 GB', 'Available Space': '36 GB', 'HD_Type': None, 'Operating System': 'Microsoft Windows 10 Pro', 'Host Name': 'XXXXX', 'CPU_Core': '1', 'Manufacturer': 'Dell Inc.', 'Model': 'Latitude 3560', 'Ram_Type': DDR3, 'Ram_Size': '8 GB', 'Serial_Number': 'XXXXXXX'}
Sample result for MacOS :
{'Processor': 'Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz', 'CPU': 4, 'Operating System': 'Mac OS X', 'OS Version': '10.14.6', 'Manufacturer': 'Apple', 'Available Space': '891.64 GB', 'Host Name': 'XXXXX', 'Ip': 'xxx.xxx.xx.xxx', 'CPU_Core': '2', 'HD Size': '1 TB ', 'Total Disk Space': '1 TB ', 'Model': 'Mac mini', 'Ram_Type': 'DDR3', 'Ram_Size': '8 GB', 'HD_Type': 'SATA', 'Serial_Number': 'XXXXXXX'}
Metadata
Release files for system-info 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| system_info-2.0.3.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| system_info-2.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / system_info-2.0.3.tar.gz
| Download URL | system_info-2.0.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06a654d13eb8e5a8c5f79d908c18da2e4e7fe796e85b48e0e8984259ed380a8
|
|
BLAKE2b-256 checksum How to use checksums |
9dc89c4cc27b9c47d4b16eb0d413d10f17b2cf5e5eb5274fe6df37161145859f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / system_info-2.0.3-py3-none-any.whl
| Download URL | system_info-2.0.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f49b782ee6aed0ec20a64f85aafa11f7d0f28e34c51f679dffdfb7eefdcfac0
|
|
BLAKE2b-256 checksum How to use checksums |
b9688604186a881170340e651a655e1bc8d45ba375c5dddc8a5fd8e274a4b8d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|