Skip to content
 
 

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages