$ show yqxie1991/WxCleaner
WxCleaner is a lightweight desktop application for detecting and removing duplicate files, primarily targeting WeChat file folders. It presents a ttkbootstrap-based GUI where users select a directory, scan for duplicates using a three-stage hashing strategy (file size, partial SHA-256, full SHA-256), and then selectively delete files by moving them to the system recycle bin via send2trash. The architecture cleanly separates the scanning logic (scanner.py) from the GUI (wx_gui.py), with main.py as the entry point. The application is functional, well-structured for its scope, and demonstrates practical file system operations with progress feedback. It is not a data research project; it is a pure utility application.
The LLM identified 1 files worth highlighting for reuse:
Implements a three-stage duplicate file detection algorithm (size, partial hash, full hash) with progress reporting via a callback. The function `find_duplicates` is self-contained, using only standard library modules (os, hashlib, collections, pathlib). It can be extracted and reused in any Python project that needs efficient duplicate scanning, with minimal adaptation (the callback interface is generic). The algorithm is a good example of tiered hashing for performance.