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 details)
File details
Details for the file python-mt-st-0.1.4.tar.gz
.
File metadata
- Download URL: python-mt-st-0.1.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ce376f0539416e28ac4a74017f2ba41e810acf41bd8af3c5438120d898f4b2 |
|
MD5 | d575dfb341303c23169b1cbc6cc44144 |
|
BLAKE2b-256 | 0b0b4767c19c5dc0dc76d3f9e22282bc3acae4da8346c1b4961d3604375cbfe9 |