Skip to main content

smartscan

CI PyPI - Version Docs

A CLI tool that runs smartctl on all disks, extracts key SMART health metrics, and stores historical results in SQLite for tracking changes over time.

Quick start

Install smartmontools to provide the smartctl command, then install smartscan:

uv tool install smartscan

Collect SMART data from all disks (requires root):

sudo smartscan collect
sudo smartscan collect --no-save "WDC"
sudo smartscan collect --verbose
sudo smartscan --json collect

Query historical records, filter by name, or get JSON output:

smartscan query --since 2026-01-01
smartscan query --last-days 7 --verbose

Map disks to their /dev/disk/ identifiers (no root needed):

smartscan lsblk
smartscan lsblk --source by-id "Samsung"
smartscan --exclude '^/dev/(loop|zd)\d+' lsblk

Read the full documentation for shell completion, configuration reference, and advanced usage.

Metadata

Release files for smartscan 0.5.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 smartscan 0.5.0
File Size Uploaded Provenance
smartscan-0.5.0.tar.gz 136.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for smartscan 0.5.0
File Interpreter ABI Platform
smartscan-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 173.9 kB

Release files / smartscan-0.5.0.tar.gz

Download URL smartscan-0.5.0.tar.gz
Size 136.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e2c65dc64ab359f8b815f6b02426f1e5979623a6627c36ee7b0fec0c55ae0478
BLAKE2b-256 checksum
How to use checksums
79ec969061a2ba6f41f161d8df82a8d869a09829a0e3cb5a79db5a75d98ea83a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / smartscan-0.5.0-py3-none-any.whl

Download URL smartscan-0.5.0-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37338e6d13173a122cb4029049d5f1fc9dc925fa755a255238e69329a375b820
BLAKE2b-256 checksum
How to use checksums
c673cd4f38c16ddf8fe846c07dfbf47f063767fc35714a1ed13b99c65575fa53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for smartscan 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for smartscan-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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