Skip to main content

Python SCSI generic library

Project description

This is a small Python 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 two methods, 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 py_sg.SCSIError exception will be raised.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_sg-0.11.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file py_sg-0.11.tar.gz.

File metadata

  • Download URL: py_sg-0.11.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py_sg-0.11.tar.gz
Algorithm Hash digest
SHA256 066b6ecb058686aaaa299c3f66c4f2d2aa379aad48c6dbd788369970d67f45d3
MD5 bab3fa7879bc1dab4ba623456d3e90e6
BLAKE2b-256 defeaa8b849771ed622e0f734183fe4ddb84648ea017b2a08f308b04bbf779bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page