This is the recommended choice, though GetDevInfo no longer runs on Python 2 from version 1.0.7 onwards, Make sure you've installed the "wheel" package: bs4 and lxml will still be installed if you install with the Python wheel or with pip.Ĭygwin: The smartmontools and util-linux packages need to be installed, as well as the beautifulsoup4 (bs4) and lxml Python modules. MacOS: Nothing beyond a default install of Python 3 is needed. Linux: The lshw, blkid, lvdisplay, and blockdev commands need to be installed, as well as the beautifulsoup4 (bs4) and lxml Python modules. For the full details on the format, read the documentation here: Dependencies: This is returned as a hierarchical python dictionary. Uses the operating system's built-in tools to gather lots of helpful information about disks connected to the system. NOTE: Cygwin is supported since v1.1.0, Python 2 is unsupported since v1.0.7. This information is available in a structured dictionary for ease of use. Working on Linux, macOS and Cygwin, this script makes use of lshw, lvdisplay, and blkid (Linux), as well as diskutil (macOS) and smartctl and blkid (Cygwin) to get a comprehensive amount of disk information. Because it's on GitLab ( ) and on PyPI (the Python Package Index) ( ), and released under the GPLv3+, this means other people can use it too.Ī device information gatherer for Linux, macOS and Cygwin/Windows. This module was originally integrated directly into the source code of Wine Autostart, DDRescue-GUI, and WxFixBoot, but has now been separated for ease of maintenance. This repository holds my new getdevinfo module.
0 Comments
Leave a Reply. |