Skip to main content

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 ThreadPoolExecutor for concurrent I/O and os.scandir for 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/DD folder 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 like IMG_001, IMG_002 into 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 a warpclean/ subfolder.
  • --tree: Visualizes the new structure in a tree format during dry runs.

🤝 Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.

Developed by Srimoneyshankar Ajith

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warpclean-0.1.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warpclean-0.1.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

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

Hashes for warpclean-0.1.1.tar.gz
Algorithm Hash digest
SHA256 42cc5a0622ffbf0ec28fb09245dd7927ef1d04be19174d275013fa232e3e65e7
MD5 f9458e4f1def6d0e0fd46b99d9b69615
BLAKE2b-256 e59c58693ed5a0d4eac14fa641ff2e0fee52198e0ab7d9ee60206e4a8477813b

See more details on using hashes here.

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

Hashes for warpclean-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35f01bddc35ea49086d6afc9e69677a10b61c59829c36637054d61e969c95732
MD5 235f1f7d45d183b610e10221bb69a5ca
BLAKE2b-256 746c9064db6f6632247eb3ed65c7f78a740a5ddf1bd66c8695d49988cf88798f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page