pyOrganize
An automated folder organizer in Python.
It runs in the background and watches for new files created by the user and moves it to it's folder(Images/Documents/Vides,etc), depending on the extension of the file.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
It needs watchdog module to trigger an event when a new file is created.
sudo pip install watchdog
Usage
Run it on your local machine by passing the name of the User Account in Linux.
python main.py vishnu
where, vishnu is the username of my system.
That's it!
Adding more file formats
Just copy and edit any of the if statement inside the proccess method in the eventHandler class.
eg, to organise .C files, add this snippet
elif ".c" in event.src_path:
fileName=event.src_path.replace(pathDownloads,"")
os.rename(pathDownloads+fileName,pathDownloads+"C_programs"+fileName)
Release files for pyorganise 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyorganise-0.0.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyorganise-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / pyorganise-0.0.3.tar.gz
| Download URL | pyorganise-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31b0abba41ab591ad87c3e6a554a4c4df13a3823da9de24d470dcb6d3a9fe490
|
|
BLAKE2b-256 checksum How to use checksums |
8acaa66c7b87a6df59afa56bfa2293d9c1f54990a9f7a728336e5068dba4d0fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
|
Release files / pyorganise-0.0.3-py3-none-any.whl
| Download URL | pyorganise-0.0.3-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ada72a587dc32ca71082f7a7c92d4f663bbe4fea801f8788238f0c833815c1ef
|
|
BLAKE2b-256 checksum How to use checksums |
38bd8e94b4f28c72bef976baea1f33ab6382b7ea3022c8360467f324bfda76de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
|