Skip to main content

Solid-state drive (ssd) checker

Project description

Table of contents

Description

Tiny little 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 SSD Checker 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.

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-checker-1.0.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file ssd-checker-1.0.1.tar.gz.

File metadata

  • Download URL: ssd-checker-1.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for ssd-checker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 024d7225337318a60deec1a579b59974e50f0d5e8e0230f49a13250b56683377
MD5 652d1eb37d84e925b21ee0195a1cebd5
BLAKE2b-256 882e697beed786d3a2db8490710f9a719999f60800414e6a82ab8f9c9ad2293f

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