dupeSweep - Python Package
Find and remove duplicate files safely with undo capability.
Installation
From PyPI (Recommended)
pip install dupesweep
From Source
git clone https://github.com/larryste1/dupesweep.git
cd dupesweep/python
pip install .
Development Installation
pip install -e ".[dev]"
Quick Start
GUI Mode (Default)
dupesweep
CLI Mode
# Scan a directory
dupesweep scan ~/Downloads
# Remove files (with confirmation)
dupesweep remove file1.txt file2.txt
# Undo last operation
dupesweep undo
# Check operation history
dupesweep status
# Show help
dupesweep help
Features
- 🔍 SHA256 Content Hashing - Full file hashing for accurate duplicate detection
- 🛡️ Safe Operations - Files moved to trash with collision-resistant naming
- ↩️ Undo Support - Restore files from any operation with verification
- 📊 Statistics - See wasted space and duplicate counts
- 🖥️ GUI + CLI - Graphical and command-line interfaces
- ⚡ Two-Phase Hashing - Quick hash first, full hash on collision
- 🧹 OS Junk Filtering - Automatically skips .DS_Store, Thumbs.db, etc.
Requirements
- Python: 3.7 or higher
- tkinter: Usually included with Python (for GUI mode)
- No external dependencies!
Usage Examples
Find Duplicates
# Scan home directory
dupesweep scan ~
# Scan specific folder
dupesweep scan /path/to/folder
# Scan with progress indicator
dupesweep scan /large/directory
Remove Duplicates
# Interactive GUI (recommended)
dupesweep
# CLI removal with confirmation
dupesweep remove /path/to/file1.txt /path/to/file2.txt
Undo Operations
# Undo last batch
dupesweep undo
# View operation history
dupesweep status
Testing
# Install test dependencies
pip install ".[dev]"
# Run tests
pytest tests/ -v
# Run with coverage
pytest tests/ --cov=python --cov-report=html
License
MIT License - See LICENSE file for details.
Support
Metadata
Release files for dupesweep 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dupesweep-1.0.0.tar.gz | 20.8 kB | Without provenance | Details for dupesweep-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dupesweep-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for dupesweep-1.0.0-py3-none-any.whl |
Total release size: 25.4 kB
Release files / dupesweep-1.0.0.tar.gz
| Download URL | dupesweep-1.0.0.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1189443cf5e68f0a1332d97940b5ef186f8587a1359003828ca7c8b8e8be5111
|
|
BLAKE2b-256 checksum How to use checksums |
190f98850e08a314e4b1c65cbde8bc5f87a904be91375b9b08937550889d0ab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / dupesweep-1.0.0-py3-none-any.whl
| Download URL | dupesweep-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fde93e67fc3bc21199845a54f050142e03a1c903f71580269395444564aa21df
|
|
BLAKE2b-256 checksum How to use checksums |
41b22fc6a0afb83f8e081c35c6aca1161b9839a78a661cf5089787bdf8309400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for dupesweep 1.0.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.
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.