Skip to main content

stat-tools

A small collection of simple CLI utilities for displaying stats about sets of files. Currently stat-tools provides two utility commands, extat for showing statistics about path suffixes (aka file extensions), and imstat for displaying information about image files, e.g resolution, size, format etc.

Usage

Both commands function by reading a set of files, separated by newlines, to analyze from stdin. Neither command provides any filesystem search or filtering functionality; it is the responsibility of an external tool to generate the list of paths to analyze and pass it to the stat-tools command over stdin. This design decision greatly simplifies the implementation of stat-tools and affords users maximum flexibility and control.

The intended use pattern is using a filesystem search tool such as GNU find, fd, or in simple cases ls to generate a list of file paths which is then piped to the desired stat-tools command:

# Report statistics on all files under `/some/root/path`
find some/root/path -type f | extat

extat

extat provides statistics about the path suffixes (aka "file extensions") present in the input list. This includes the number of paths with the suffix, the total number of paths, analyzed, the percentage of all paths having the suffix, the total file size of all files having the suffix, and the portion of total set file size represented by the suffix

imstat

imstat works the same way extat does, but is designed to only process image files, e.g. jpeg files, and webp files, and instead of printing statistics about the path suffixes, it prints information about each file's image metadata, e.g. resolution and file size info

Metadata

Release files for quik-stat 0.1.2

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

Source distribution (sdist)

Source distribution for quik-stat 0.1.2
File Size Uploaded Provenance Actions
quik_stat-0.1.2.tar.gz 31.4 kB Without provenance Details for quik_stat-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quik-stat 0.1.2
File Interpreter ABI Platform Actions
quik_stat-0.1.2-py3-none-any.whl Python 3 none any Details for quik_stat-0.1.2-py3-none-any.whl

Total release size: 35.6 kB

Release files / quik_stat-0.1.2.tar.gz

Download URL quik_stat-0.1.2.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9732c5c97fa7a8557c2323363f0e6d2d10e63609a067ed37cef33c108135bfb5
BLAKE2b-256 checksum
How to use checksums
d8b84e5818810f61966221a6c0c20c5eac549b8866e871644bb44c12a078b1cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / quik_stat-0.1.2-py3-none-any.whl

Download URL quik_stat-0.1.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
094cbc178baba812f09c37999dad7a859110367614dd6285744c58177336279d
BLAKE2b-256 checksum
How to use checksums
2e49b87ced76525517a82599e088349ef8d5243c24d635b7a75f1d77bb147b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for quik-stat 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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