Skip to main content

🗂️ bd_fileorganizer

bd_fileorganizer is a simple yet powerful Python utility that helps you clean up cluttered folders by automatically moving files into categorized subfolders like images/, documents/, archives/, and more — all based on file extensions.

It’s perfect for tidying up your Downloads, Desktop, or project folders with just one command.


📦 HOW TO USE:

** In Your terminal: If mac use python3 , if windows use python

  • pip install bd-fileorganizer
  • from bd_fileorganizer.organizer import organize_folder
  • organize_folder("give your folder path with different files")

** In Your ipynb file:

  • pip install bd-fileorganizer
  • from bd_fileorganizer.organizer import organize_folder
  • organize_folder("give your folder path with different files")

📦 Features

  • 📁 Automatically sorts files into categories
  • 🧠 Smart extension detection (.jpg → images, .pdf → documents, etc.)
  • 🧪 Dry-run mode to preview changes
  • 🐍 Easy-to-use Python API and CLI interface
  • ✅ Beginner-friendly code and customizable

🚀 Installation

Install from source:

pip install bd-fileorganizer

📌 Available on PyPI! https://pypi.org/project/bd-fileorganizer/


🖥️ CLI Usage

organize_folder "/path/to/folder"

Dry-run (preview only):

organize_folder "/path/to/folder" --dry

🐍 Python API

from bd_fileorganizer.organizer import organize_folder

organize_folder("/Users/you/Downloads")

🧪 Running Tests

pytest

🗃️ Folder Structure Example

Before:

Downloads/
├── photo.jpg
├── report.pdf
├── backup.zip

After:

Downloads/
├── images/
│   └── photo.jpg
├── documents/
│   └── report.pdf
├── archives/
│   └── backup.zip

🔧 Extension Mapping

Category Extensions
images/ .jpg, .jpeg, .png, .gif
documents/ .pdf, .docx, .txt
archives/ .zip, .tar, .gz, .rar
videos/ .mp4, .mov, .mkv
audio/ .mp3, .wav
others/ Everything else

📄 License

Licensed under the GNU License


🤝 Contributing

Contributions, feature ideas, and bug reports are welcome! Feel free to open an issue or a pull request.


👤 Authors

Bhuvan GitHub: @bhuvan0808 GitHub: @devaagulla


🧹 Make your folders smarter, not messier — with bd-fileorganizer 🗂️

Metadata

Release files for bd-fileorganizer 0.0.7

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

Source distribution (sdist)

Source distribution for bd-fileorganizer 0.0.7
File Size Uploaded Provenance
bd_fileorganizer-0.0.7.tar.gz 14.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bd-fileorganizer 0.0.7
File Interpreter ABI Platform
bd_fileorganizer-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / bd_fileorganizer-0.0.7.tar.gz

Download URL bd_fileorganizer-0.0.7.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f3af448a80821ef72ab99c16bf3c2a8d39d9f95f2e6788cc7fc3c47ba7096752
BLAKE2b-256 checksum
How to use checksums
af2cab4a6c32a998920d2e4aa8927664bd03b41efe9ee5c370f1c8686244acea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Release files / bd_fileorganizer-0.0.7-py3-none-any.whl

Download URL bd_fileorganizer-0.0.7-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ac85ad315d9bcc1597c047fae60e022058b7e0ede7a2fcf78d7df4baab1dd95
BLAKE2b-256 checksum
How to use checksums
c30947d5a6729d327e38918c5081978ace8572c96a879c384c2999182838a26d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Security for bd-fileorganizer 0.0.7

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.

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