WARPCLEAN - Blazing Fast Python CLI File Organizer
Reason this release was yanked:
Test Version
Project description
⚡ WARPCLEAN
WARPCLEAN is a blazing fast, deterministic, and content-aware CLI file organizer. It uses multi-threading and smart heuristics to transform cluttered directories into structured workspaces in seconds.
✨ Features
- 🚀 Blazing Fast: Uses
ThreadPoolExecutorfor concurrent I/O andos.scandirfor rapid directory traversal. - 🧠 Content-Aware: Identifies files by magic bytes (signatures), not just extensions (via
python-magic). - 🛡️ Safety First: * Dry Run: Preview exactly what will happen before moving a single byte.
- Undo System: Revert the last $N$ batches of operations with a single command.
- Collision Resolution: Automatically renames files (e.g.,
image_1.jpg) to prevent data loss.
- 📂 Smart Grouping: Automatically detects file sequences and fuzzy matches to keep related projects together.
- 📅 Date-Based Org: Optional organization into
YYYY/MM/DDfolder structures. - 🔍 Duplicate Detection: MD5-based hashing to skip redundant files.
🛠️ Installation
If you've followed the package conversion steps, you can install it via:
# From the project root
pip install .
Dependencies:
rich(for beautiful UI and progress bars)python-magic(for file type identification)orjson(optional, for high-speed log processing)
🚀 Usage
Basic Command
warpclean /path/to/your/cluttered/folder
Power User Examples
| Goal | Command |
|---|---|
| Safe Preview | warpclean ./downloads --dry-run --tree |
| Photo Backup | warpclean ./photos --date-based --copy --detect-duplicates |
| Massive Clean | warpclean ./files --fast --progress --clean-empty-dirs |
| Undo Last Move | warpclean ./files --undo 1 |
📋 Categorization Logic
WARPCLEAN sorts files into the following standard hierarchy:
- Pictures:
.jpg, .png, .raw, ... - Videos:
.mp4, .mkv, .mov, ... - Audio:
.mp3, .wav, .flac, ... - Documents:
.pdf, .docx, .txt, .md, ... - Installers:
.exe, .msi, .sh, .dmg, ... - Archives:
.zip, .tar.gz, .7z, ... - Collections: Grouped by sequence or project name.
🛠️ Advanced Options
--group-related: Groups sequences likeIMG_001,IMG_002into a dedicated folder.--fast: Skips deep content analysis and trusts extensions (ideal for huge NAS drives).--copy: Leaves originals untouched and creates an organized copy in awarpclean/subfolder.--tree: Visualizes the new structure in a tree format during dry runs.
🤝 Contributing
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📄 License
Distributed under the MIT License. See LICENSE for more information.
Developed by Srimoneyshankar Ajith
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file warpclean-0.1.1.tar.gz.
File metadata
- Download URL: warpclean-0.1.1.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42cc5a0622ffbf0ec28fb09245dd7927ef1d04be19174d275013fa232e3e65e7
|
|
| MD5 |
f9458e4f1def6d0e0fd46b99d9b69615
|
|
| BLAKE2b-256 |
e59c58693ed5a0d4eac14fa641ff2e0fee52198e0ab7d9ee60206e4a8477813b
|
File details
Details for the file warpclean-0.1.1-py3-none-any.whl.
File metadata
- Download URL: warpclean-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35f01bddc35ea49086d6afc9e69677a10b61c59829c36637054d61e969c95732
|
|
| MD5 |
235f1f7d45d183b610e10221bb69a5ca
|
|
| BLAKE2b-256 |
746c9064db6f6632247eb3ed65c7f78a740a5ddf1bd66c8695d49988cf88798f
|