python-scsi
python-scsi is a SCSI initiator for python. It contains python classes to create and send SCSI commands to devices accessible via:
-
SGIO: /dev/sg* devices using ioctl(SG_IO) Depends on cython-sgio.
-
iSCSI: iscsi://// Depends on cython-iscsi.
These classes also provide interfaces to marshall/unmarshall both CDBs as well as DATA-IN/OUT buffers.
License
Python-scsi is distributed under LGPLv2.1 Please see the LICENSE file for the full license text.
Getting the sources
The module is hosted at https://github.com/python-scsi/python-scsi
You can use git to checkout the latest version of the source code using:
$ git clone git@github.com:python-scsi/python-scsi.git
It is also available as a downloadable zip archive from:
https://github.com/python-scsi/python-scsi/archive/master.zip
Building and installing
To build and install from the repository:
python-scsi $ pip install .[iscsi,sgio]
You can avoid installing the optional dependencies by omitting the "extras":
python-scsi $ pip install .
Tools (examples)
The tools directory contains example programs written against the python-scsi API.
inquiry.py
An example tool to send INQUIRY commands to a device.
mtx.py
An example tool to operate a SCSI media changer. Similar to, but not as advanced as, the 'mtx' utility.
Mailinglist
A mailinglist for python-scsi is available at: https://groups.google.com/forum/#!forum/python-scsi
Metadata
Release files for PYSCSI 2.1.0
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 | Actions |
|---|---|---|---|---|
| PYSCSI-2.1.0.tar.gz | 75.2 kB | Without provenance | Details for PYSCSI-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PYSCSI-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for PYSCSI-2.1.0-py3-none-any.whl |
Total release size: 163.0 kB
Release files / PYSCSI-2.1.0.tar.gz
| Download URL | PYSCSI-2.1.0.tar.gz |
|---|---|
| Size | 75.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4e743b7d33ff096a05aa80492ad7180a7a10be25c368b7a7a3d2bb6761f7faa
|
|
BLAKE2b-256 checksum How to use checksums |
38afa65b577635951f9b350bf8660568eb7976812739f57d4698bc14fc24b767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / PYSCSI-2.1.0-py3-none-any.whl
| Download URL | PYSCSI-2.1.0-py3-none-any.whl |
|---|---|
| Size | 87.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf4257c62764cac00b186c81d031d155184bbbd96ffcbb8192e21d945e6104bf
|
|
BLAKE2b-256 checksum How to use checksums |
592b7b550601bdd402f06971f93c61e6d57f1d0bd7aa50d0a5ffe75f104c295c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for PYSCSI 2.1.0
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.