Skip to main content

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!

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)

Uploaded source

Built Distribution

ssd-0.1.1-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded py2 py3

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