Python3 SCSI generic library
This is a small Python3 extension which sends arbitrary commands to SCSI devices, via the Linux SCSI Generic driver, which provides the SG_IO ioctl for this purpose. Basically, the module includes three methods to read and write, which allow you to issue commands to SCSI devices and read and write accompanying data. If an OS error occurs, the OSError exception will be raised, while if a SCSI error occurs, the py3_sg.SCSIError exception will be raised.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for py3_sg-0.0.3-py3.8-linux-x86_64.egg