Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Solid-State Drive Checker

Project description

Table of contents

Description

A tiny, but effective, Solid-State Drive 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

If in your system missing the command pip, but you’re sure you have installed the Python Interpreter and the package setuptools (>=20.8.1), you can try to install pySSD from the sources, in this way:

  1. Get the latest tarball of the source code in format ZIP or TAR.
  2. Extract the downloaded archive.
  3. From the extracted path, launch the command python setup.py install.

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-or-dev')

Return value will be True if the drive, where the given path is located, was recognized as SSD, otherwise False.

Note: Ramdisks are always recognized as SSD under Windows.

That’s All Folks!

Project details


Release history Release notifications

This version
History Node

1.0.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ssd-1.0.0-py2.py3-none-any.whl (5.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jul 22, 2017
ssd-1.0.0.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Jul 22, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page