Skip to main content

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


Download files

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

Source Distribution

ssd-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

ssd-1.0.0-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ssd-1.0.0.tar.gz.

File metadata

  • Download URL: ssd-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ssd-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b637842dde173f8aee075010dbdd7e7675507a924ebc5f9b432c77ca15b354b4
MD5 a3e1ec145802c79ea5c5623560b9209e
BLAKE2b-256 ca6fe3f8b7e78579423a50e17794a61139ca9b176aa00bcba5c714f91b072fcd

See more details on using hashes here.

File details

Details for the file ssd-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ssd-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ed281fbfb39f8c54a8e1f6bde2abd205322f8f3dfeaf8214ec0c8d5bde30c924
MD5 79e95be3e89517b04c9771e30b6bb653
BLAKE2b-256 e8fb9768b05487cd4d29a35e8c2ecb15543218a4b4087dc6eae188608a80506e

See more details on using hashes here.

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