Skip to main content

A lightweight solution to organise your folders and files

Project description

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)   

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

pyorganise-0.0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

pyorganise-0.0.3-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file pyorganise-0.0.3.tar.gz.

File metadata

  • Download URL: pyorganise-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyorganise-0.0.3.tar.gz
Algorithm Hash digest
SHA256 31b0abba41ab591ad87c3e6a554a4c4df13a3823da9de24d470dcb6d3a9fe490
MD5 47d8d64d1a1dc0bb216bf76a0e400700
BLAKE2b-256 8acaa66c7b87a6df59afa56bfa2293d9c1f54990a9f7a728336e5068dba4d0fd

See more details on using hashes here.

File details

Details for the file pyorganise-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyorganise-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyorganise-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ada72a587dc32ca71082f7a7c92d4f663bbe4fea801f8788238f0c833815c1ef
MD5 2ccebcc8e874956f7770198f2d1b871d
BLAKE2b-256 38bd8e94b4f28c72bef976baea1f33ab6382b7ea3022c8360467f324bfda76de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page