GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bmeagherix/python-scsi: Python classes to access SG_IO scsi devices

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

467 Commits
467 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
LICENSES
LICENSES
 
 
examples
examples
 
 
pyscsi
pyscsi
 
 
tests
tests
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.travis.yml
.travis.yml
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mypy.ini
mypy.ini
 
 
pyproject.toml
pyproject.toml
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

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 [email protected]: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

About

Python classes to access SG_IO scsi devices

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.