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.
Usage
[TODO]
Prerequisites
- Current version is wrapping mt-gnu. Make sure mt-gnu is in your execution path.
- root privilege needed by magnetic tape drive operations
- Python 3
Install
$ cd [project_home]
$ pip install .
Testing
- You need either a real tape drive or use mhvtl as a simulate tape drive.
- After tape drive is ready, update tape drive information in
test/tape_conf.py
- run test cases by
$ nosetests tests
Project details
Release history Release notifications | RSS feed
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)