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.6.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.6.0
File Size Uploaded Provenance
smartscan-0.6.0.tar.gz 145.7 kB With provenance Details

Built distribution (wheel)

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

Total release size: 187.4 kB

Release files / smartscan-0.6.0.tar.gz

Download URL smartscan-0.6.0.tar.gz
Size 145.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd4b11df300eebb9d9f0e2cb8b9bcacba88ae519875f31b30a898649eda1f3b3
BLAKE2b-256 checksum
How to use checksums
58b2063135afb2837f11b21e7601342214ffb73956eb1d56b4e60f7937eb9d9f
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.6.0-py3-none-any.whl

Download URL smartscan-0.6.0-py3-none-any.whl
Size 41.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dbd03d0187ce2d70284099b40cabd7d7e8e971b2d4aded1e752530c95a18298
BLAKE2b-256 checksum
How to use checksums
73b60b6ce359ec7b38f03f5aaeb203e935a6523baf7b5bad1e8bf284697ce801
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.6.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.6.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