This is a file organizer designed to assist users in managing their directories more visually and intuitively
Project description
file-organizer-sachin23pandey
This is a file organizer designed to assist users in managing their directories more visually and intuitively
Overview
file-organizer-sachin23pandey package is a simple and lightweight Python package to organize files by extension and perform basic file and folder management operations (create, delete, rename).
Currently, it includes functions to organize files by extension, create files/folders, delete files/folders, and rename them.
Developed by Sachin Pandey (c) 2025
Installation
You can install it from TestPyPI (for now):
pip install file-organizer-sachin23pandey
Usage
1. Importing
from file_organizer_sachin23pandey import file_organizer
2. Organize Files by Extension
Organize all files in a folder into subfolders based on their file extensions.
from file_organizer_sachin23pandey import file_organizer
file_organizer.organize_file("C:\\Users\\Radha\\Downloads")
📂 Example:
If your folder has image.jpg, document.pdf, and notes.txt, it will create folders jpg, pdf, txt and move files into them.
3. Create Files and Folders
from file_organizer_sachin23pandey import file_organizer
file_organizer.create_file("C:\\NewT", "example.txt") # Creates an empty file
file_organizer.create_folder("C:\\NewT", "MyFolder") # Creates a folder
4. Delete Files and Folders
from file_organizer_sachin23pandey import file_organizer
file_organizer.delete_file("C:\\NewT", "example.txt")
file_organizer.delete_folder("C:\\NewT", "MyFolder")
5. Rename Files and Folders
from file_organizer_sachin23pandey import file_organizer
file_organizer.rename_file("C:\\NewT", "old.txt", "new.txt")
file_organizer.rename_folder("C:\\NewT", "OldFolder", "NewFolder")
6. Description about functions
| Function | Description |
|---|---|
file_organizer(path) |
Organizes files in the given folder by extension. |
create_file(path, filename) |
Creates an empty file if it does not exist. |
create_folder(path, foldername) |
Creates a folder if it does not exist. |
delete_file(path, filename) |
Deletes a file if it exists. |
delete_folder(path, foldername) |
Deletes a folder (and its contents) if it exists. |
rename_file(path, old_name, new_name) |
Renames an existing file. |
rename_folder(path, old_name, new_name) |
Renames an existing folder. |
Project Url
github repo :
https://github.com/Sachin23Pandey/file-organizer-sachin23pandey
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 file_organizer_sachin23pandey-1.0.0.tar.gz.
File metadata
- Download URL: file_organizer_sachin23pandey-1.0.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26f45d4953ca91a33347b51b6e219511f9d2ca2d247e83e7c5e0bb5ffde6fe85
|
|
| MD5 |
d957a95a34c7a44194d465335d3f47c0
|
|
| BLAKE2b-256 |
8a35ced37d5b362191055c795abfeb538770de6bb377b5bbd7063c1536591595
|
File details
Details for the file file_organizer_sachin23pandey-1.0.0-py3-none-any.whl.
File metadata
- Download URL: file_organizer_sachin23pandey-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3984e618d92a88ac23d68d3f857af6e58a304b7db32b18fcb26eb72c89ed4de3
|
|
| MD5 |
71406deda7b07d32afb4cf9011ba77c7
|
|
| BLAKE2b-256 |
2b06b8f0ded2bf4eb56ffbdbfdf6173fab2abef158132c2fac513232ec9ec3f6
|