Skip to main content

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!

Metadata

Release files for organizeit 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for organizeit 0.0.1
File Interpreter ABI Platform
organizeit-0.0.1-py3-none-any.whl Python 3 none any Details

Release files / organizeit-0.0.1-py3-none-any.whl

Download URL organizeit-0.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e579dcf4861870f2cbb63dfea7780c4ce4bc4a3277352e49f5e0156b29726835
BLAKE2b-256 checksum
How to use checksums
fab21ba85821af5a6ac86f9905d256a3e3adfb30485507335752005fcacdb4e8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page