Skip to main content

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

  1. Access folder using pathlib
  2. Read all files
  3. Loop through files
  4. Generate new names using prefix + number
  5. 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


Download files

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

Source Distribution

bulk_renamer_anuska-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

bulk_renamer_anuska-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for bulk_renamer_anuska-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1bd0060e7f87075d39d5e2c40e4c190d211462cd21c4b21b0de45224d0eff30b
MD5 669690c2894e4bdf0ee91cb0ac6b5e40
BLAKE2b-256 f0fcd4c9e9e220cc3d29477052db0e41626357f3696459b28fe981c7d534b69d

See more details on using hashes here.

File details

Details for the file bulk_renamer_anuska-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bulk_renamer_anuska-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b6a58534328b43bb2995b13c2ecbda341b4ff3e6a306f88ccb7eed1bfa5e0ca
MD5 e643262031067aee6ad9f4bbed3fe4d1
BLAKE2b-256 cc8dcc70a241cec7b89d40f9b6e8f52dc97b8d499f86498acb9f946476ed429a

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