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 file-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.1.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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file bulk_renamer_anuska-0.1.1.tar.gz.

File metadata

  • Download URL: bulk_renamer_anuska-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c7d529d4cbb1e3a054676b62be659dc23532b738e8b9f478a6b571258eae56ff
MD5 6ea9d17bf3d98f5a67768b67743dff6c
BLAKE2b-256 c798f187b6aa5a0748107b285740553b843579fe881590b838c997904a511f31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulk_renamer_anuska-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84c1dcd97ad7b17cde723b6a75981a33e05138e8f835c039f88c859f711da30d
MD5 f04358220783c500fb0f931dda4be47e
BLAKE2b-256 b47803b04f53d73307f081b34cf5b44af21e5604860115d6656dbe45f4219a84

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