Skip to main content

Organizes your files in certain folders.

Project description

OrganizeIt

This package organizes your files into certain folders. E.g You can use it with your 'Downloads' folder to organize you images, documents, .exe files , .etc.

Installation

Check whether you are running latest package manager pip pip --version

Upgrade your pip version (If not using the latest one) pip install --user --upgrade pip

Install organizeit : pip install organizeit

Usage

Import installed package and OS module :

import os
import organizeit

Create an array of the names of the folders you want :

FOLDERS_NAME = ['Images', 'Music', 'Videos', 'Applications', 'Documents', 'Others']

Create a variable called path and store the path of the folder you want the files inside which to be organized.

path = os.path.expanduser('E:\\XYZ\\Downloads')

Now, pass the FOLDERS_NAME array and the path to the createFolders function.

createFolder(FOLDERS_NAME, path)

The createFolders() function will create all new folders within the array passed.

Next, we have to use the insertFiles() function by passing the path to the function.

insertFiles(path)

The insertFiles() function loops through every file in that folders and checks for their extension and on the basis of the type of file it is.

Note: The current version can only sort your files in folders -> Images, Videos, Documents, Applications, Music only so you can't create a dynamic folder with a custom name. But, in later versions there will be an upgrade.

Thank You!

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

organizeit-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file organizeit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: organizeit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for organizeit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e579dcf4861870f2cbb63dfea7780c4ce4bc4a3277352e49f5e0156b29726835
MD5 2dc180af02e41801df9e760cdacd1218
BLAKE2b-256 fab21ba85821af5a6ac86f9905d256a3e3adfb30485507335752005fcacdb4e8

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