Python package to automatically organize files by type
Project description
Bulk File Renamer
A simple and efficient Python tool to rename multiple files in a folder automatically using a custom prefix and numbering.
Features
- Rename files in bulk
- Automatic numbering
- Custom prefix support
- Keeps original file extensions
- Skips duplicate file names
- Ignores hidden files
- Handles edge cases (invalid folder, empty folder)
Installation
pip install bulk-renamer-anuska
Project Structure
bulk_file_renamer/ │ ├── dist/ ├── file_renamer/ │ ├── init.py │ └── file_renamer.py │ ├── LICENSE ├── pyproject.toml ├── README.md ├── setup.py
Edge Cases Handled
- Invalid folder path
- Empty folder
- Duplicate file names (skipped)
- Hidden files ignored
How It Works
- Access folder using
pathlib - Read all files
- Loop through files
- Generate new names using prefix + number
- Rename files safely
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
License
This project is open-source and available under the MIT License.
Author
Developed by Anuska Bhandari
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 bulk_renamer_anuska-0.1.2.tar.gz.
File metadata
- Download URL: bulk_renamer_anuska-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bd0060e7f87075d39d5e2c40e4c190d211462cd21c4b21b0de45224d0eff30b
|
|
| MD5 |
669690c2894e4bdf0ee91cb0ac6b5e40
|
|
| BLAKE2b-256 |
f0fcd4c9e9e220cc3d29477052db0e41626357f3696459b28fe981c7d534b69d
|
File details
Details for the file bulk_renamer_anuska-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bulk_renamer_anuska-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b6a58534328b43bb2995b13c2ecbda341b4ff3e6a306f88ccb7eed1bfa5e0ca
|
|
| MD5 |
e643262031067aee6ad9f4bbed3fe4d1
|
|
| BLAKE2b-256 |
cc8dcc70a241cec7b89d40f9b6e8f52dc97b8d499f86498acb9f946476ed429a
|