Skip to content

anantkamath/pyATASmart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python bindings for the libatasmart library

Follows the same model adopted by the original library (i.e. functions like getPowerOn(disk) instead of disk.getPowerOn() )

To install run:

	python setup.py build
	sudo python setup.py install
	

Examples: (Run as root)
from pyATASmart.c import *

disk=diskOpen('/dev/sda') #Creates a new disk object

print smartIsAvailable(disk)
print smartStatus(disk)
print getPowerOn(disk)

About

Python bindings for the libatasmart library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published