py3_sg
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.
PyPI install
sudo python3 -m pip install py3_sg
Manual install
-
Install dependencies:
sudo apt install python3-dev
-
Clone this repo
-
Enter the folder
-
Try to compile:
python3 setup.py build
-
If .so library is compiled, install:
sudo python3 -m pip install <path/to/setup.py>
-
You are done
Precompiled package
Metadata
Release files for py3-sg 0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| py3_sg-0.16.tar.gz | 16.2 kB | Without provenance | Details |
Release files / py3_sg-0.16.tar.gz
| Download URL | py3_sg-0.16.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32a3e840704289117fa7e3c9ce61178891da5452386f88ab1131a3a1a8ed8535
|
|
BLAKE2b-256 checksum How to use checksums |
746c159c49a6284a3de5f48e3e47e2533abfc036b412714ce66bbf0b0213bc37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for py3-sg 0.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.