Skip to main content

Here’s your polished and professional README.md in full Markdown format with ✅ emojis, headings, code blocks, and clarity — ready to upload to GitHub or PyPI:


# Auto-Folderize 🗂️

**Auto-Folderize** is a lightweight and easy-to-use Python library that organizes files in a folder into subfolders based on their file extensions. It supports both **default categorization** and **custom rules**. You can even automatically delete empty folders after organizing.

---

## 📦 Installation

```bash
pip install auto-folderize

🚀 Usage

from auto_folderize import organize, clean

# Organize using default rules
organize(r"D:\test_lib")

# Organize using custom rules
custom_rules = {
    "MyPhotos": ["jpg", "jpeg", "webp"],
    "MyText": ["txt", "md"],
    "Backups": ["zip", "rar"]
}
organize(r"D:\test_lib", rules=custom_rules)

# Clean up empty folders after organizing
clean(r"D:\test_lib")

🧠 Features

  • ✅ Automatically sorts files into categories like images, documents, videos, etc.
  • ✅ Fully customizable rule sets based on your needs
  • ✅ Cleans up leftover empty folders after organization
  • ✅ Easy to integrate and extend for automation scripts

📁 Default Rules (if no custom rules provided)

default_rules = {
    "images": ["jpg", "jpeg", "png", "gif", "bmp"],
    "documents": ["pdf", "docx", "doc", "txt", "pptx", "xlsx"],
    "videos": ["mp4", "mov", "avi", "mkv"],
    "audio": ["mp3", "wav", "aac"],
    "archives": ["zip", "rar", "7z", "tar", "gz"],
    "code": ["py", "js", "java", "c", "cpp", "cs", "html", "css", "json"],
}

👤 Author

Made with 💻 by Sourav Sandilya 📧 Email: youremail@example.com 🌐 GitHub: github.com/yourusername


📄 License

This project is licensed under the MIT License – feel free to use and contribute!


🌟 Contributions Welcome!

Found a bug or have a cool idea? Fork the repo, open an issue, or make a pull request! Let's improve folder organization together.


---

✅ You can now:

- Save this as `README.md`
- Upload it to GitHub with your code
- It’ll also be used for your PyPI page if you add it in `setup.py`

Would you like a matching `setup.py` or `LICENSE` file too?

Metadata

Release files for auto-folderize 0.1.0

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

Source distribution (sdist)

Source distribution for auto-folderize 0.1.0
File Size Uploaded
auto_folderize-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-folderize 0.1.0
File Interpreter ABI Platform
auto_folderize-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / auto_folderize-0.1.0.tar.gz

Download URL auto_folderize-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
70d6c5c901ec0b675622c4f5fffb970931e8cce8a545c29c9372142002b8a790
BLAKE2b-256 checksum
How to use checksums
9494408d1b41d67b48c9455839e1d32785b0bcad4c1c97782dcff51149915fcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / auto_folderize-0.1.0-py3-none-any.whl

Download URL auto_folderize-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8c2037ee58f3c1c8dddf562a7b50445178e3b5eff1c4238368145e229fc9777
BLAKE2b-256 checksum
How to use checksums
ee0aa38ffbcc61d0f56794b3390006655fda328ac6fdcea17d61f2ff317c1334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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