Skip to main content

Module for controlling magnetic tape drives under Linux from Python

Project description

A magnetic tape drive controller ✨🍰✨


A Python module for controlling magnetic tape drives under Linux from Python. The module can control magnetic tape drive operation, just like mt variants (mt-st, mt-gnu, etc.) under Unix-like OSs. User can do control operations and erase the cartridge. This implementation is based on mt-gnu. In the next version we will move to communicate with linux st driver via ioctl instead.




  1. Current version is wrapping mt-gnu. Make sure mt-gnu is in your execution path.
  2. root privilege needed by magnetic tape drive operations
  3. Python 3


  1. $ cd [project_home]
  2. $ pip install .


  1. You need either a real tape drive or use mhvtl as a simulate tape drive.
  2. After tape drive is ready, update tape drive information in test/
  3. run test cases by $ nosetests tests

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

python-mt-st-0.1.4.tar.gz (3.4 kB view hashes)

Uploaded source

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