Giter Club home page Giter Club logo

python-scsi's Introduction

python-scsi

python-scsi is a SCSI initiator for python. It contains python classes to create and send SCSI commands to devices accessible via:

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/rosjat/python-scsi

You can use git to checkout the latest version of the source code using:

$ git clone [email protected]:rosjat/python-scsi.git

It is also available as a downloadable zip archive from:

https://github.com/rosjat/python-scsi/archive/master.zip 

Building and installing

This module depends on libiscsi and SWIG libraries. You must first install these libraries before you can build this module. In debian families, you can install these dependencies via:

$ apt install swig libiscsi-dev

Building the module:

$ python setup.py build

Installing the module:

$ python setup.py install

Unit testing

The tests directory contain unit tests for python-scsi. To run the tests:

$ cd tests $ make

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

python-scsi's People

Contributors

rosjat avatar sahlberg avatar c-r-h avatar flameeyes avatar hrchu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.