https://github.com/petersulyok/diskinfo
Disk information Python library for Linux.
https://github.com/petersulyok/diskinfo
disk-information disk-partition disk-smart disk-temperature linux python python-library
Last synced: about 2 months ago
JSON representation
Disk information Python library for Linux.
- Host: GitHub
- URL: https://github.com/petersulyok/diskinfo
- Owner: petersulyok
- License: mit
- Created: 2022-09-10T13:37:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-16T07:51:45.000Z (3 months ago)
- Last Synced: 2026-03-16T07:57:12.430Z (3 months ago)
- Topics: disk-information, disk-partition, disk-smart, disk-temperature, linux, python, python-library
- Language: Python
- Homepage:
- Size: 925 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# diskinfo
[](https://github.com/petersulyok/diskinfo/actions/workflows/tests.yml)
[](https://app.codecov.io/gh/petersulyok/diskinfo)
[](https://diskinfo.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/petersulyok/diskinfo/issues)
[](https://pypi.org/project/diskinfo)
[](https://badge.fury.io/py/diskinfo)
Disk information Python library can assist in collecting disk information on Linux. In more details, it can:
- collect information about a specific disk
- explore all existing disks in the system
- translate between traditional and persistent disk names
- read current disk temperature
- read SMART data of a disk
- read partition list of a disk
- read raw file system information of a disk
Installation
------------
Standard installation from [pypi.org](https://pypi.org):
pip install diskinfo
See the complete list of dependencies and requirements in the
[documentation](https://diskinfo.readthedocs.io/en/latest/intro.html#installation).
Demo
----
The library contains a demo application with multiple screens:
pip install rich
python -m diskinfo.demo

See more demo screens in the [documentation](https://diskinfo.readthedocs.io/en/latest/intro.html#demo).
API documentation
-----------------
The detailed API documentation can be found on [readthedocs.io](https://diskinfo.readthedocs.io/en/latest/index.html).