Skip to main content

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!

Metadata

Release files for ssd 1.0.0

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 1.0.0
File Size Uploaded
ssd-1.0.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssd 1.0.0
File Interpreter ABI Platform
ssd-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.8 kB

Release files / ssd-1.0.0.tar.gz

Download URL ssd-1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b637842dde173f8aee075010dbdd7e7675507a924ebc5f9b432c77ca15b354b4
BLAKE2b-256 checksum
How to use checksums
ca6fe3f8b7e78579423a50e17794a61139ca9b176aa00bcba5c714f91b072fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ssd-1.0.0-py2.py3-none-any.whl

Download URL ssd-1.0.0-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ed281fbfb39f8c54a8e1f6bde2abd205322f8f3dfeaf8214ec0c8d5bde30c924
BLAKE2b-256 checksum
How to use checksums
e8fb9768b05487cd4d29a35e8c2ecb15543218a4b4087dc6eae188608a80506e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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