Skip to main content

Module for controlling magnetic tape drives under Linux from Python

Project description

A magnetic tape drive controller ✨🍰✨

Screenshot

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

  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

Install

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

Testing

  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/tape_conf.py
  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 details)

Uploaded Source

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

Hashes for python-mt-st-0.1.4.tar.gz
Algorithm Hash digest
SHA256 54ce376f0539416e28ac4a74017f2ba41e810acf41bd8af3c5438120d898f4b2
MD5 d575dfb341303c23169b1cbc6cc44144
BLAKE2b-256 0b0b4767c19c5dc0dc76d3f9e22282bc3acae4da8346c1b4961d3604375cbfe9

See more details on using hashes here.

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