Solid-State Drive Checker
Project description
Table of contents
Description
A tiny, but effective, SSD checker for Python.
Working on Windows, macOS and linux.
Installation
Type in your command shell with *administrator/root* privileges:
pip install ssd
In Unix-based systems, this is generally achieved by superseding the command sudo.
sudo pip install ssd
If the above commands fail, consider installing it with the option –user:
pip install --user ssd
Usage
Import in your script the module sdd and call its function is_ssd.
from ssd import is_ssd is_ssd('/path/to/file-or-dir')
pySSD will return True if the drive, where the given path is located, is recognized as a solid-state drive, otherwise False.
That’s All Folks!
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
ssd-0.1.1.tar.gz
(3.2 kB
view hashes)