Skip to main content

SSD Checker

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_checker

In Unix-based systems, this is generally achieved by superseding the command sudo.

sudo pip install ssd_checker

If the above commands fail, consider installing it with the option –user:

pip install --user ssd_checker

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_checker and call its function is_ssd.

from ssd_checker 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.

Metadata

Release files for ssd-checker 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssd-checker 1.0.3
File Size Uploaded
ssd_checker-1.0.3.tar.gz 4.1 kB Details

Release files / ssd_checker-1.0.3.tar.gz

Download URL ssd_checker-1.0.3.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f67a33ce1a92c1cbe2e3396109961ddd6e21a574999abb7b1b2e6a80956e25ad
BLAKE2b-256 checksum
How to use checksums
6aee5505238084fc36cfb5ae19693e62d64303a154648d6bbee9089babae00f2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page