semvec/pypi-packages huggingface dataset:
file-organizer-sachin23pandey 1.0.0
This is a file organizer designed to assist users in managing their directories more visually and intuitively
Requires Python: >=3.6


# 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):
```python
pip install file-organizer-sachin23pandey
```
## Usage 

### 1. Importing
```python
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.
```python 
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
```python 
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
```python 
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
``` python 
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 :

``` python
https://github.com/Sachin23Pandey/file-organizer-sachin23pandey

```
yms-faster-rcnn 0.1.18
My awesome package

## 学习率调度器

1. **`LambdaLR`**：将每个参数组的学习率设置为初始学习率乘以一个给定函数的值。

   参数：`lr_lambda`（函数或列表）：一个函数，它根据整数参数 `epoch` 计算一个乘法因子，或者是一个这样的函数列表，其中每个函数对应优化器 `optimizer.param_groups` 中的一个组。

2. **`MultiplicativeLR`**：将每个参数组的学习率乘以指定函数中给出的因子。

   参数：`lr_lambda`（函数或列表）：一个函数，它根据整数参数 `epoch` 计算一个乘法因子，或者是一个这样的函数列表，其中每个函数对应优化器 `optimizer.param_groups` 中的一个组。

3. **`StepLR`**:每经过 `step_size` 个周期，就将每个参数组的学习率按照 `gamma` 的比例衰减。请注意，这种衰减可以与来自该调度器外部的其他对学习率的变化同时发生。

   参数：`step_size`（整数）：学习率衰减的周期。
   	   `gamma`（浮点数）：学习率衰减的乘法因子。

4. **`MultiStepLR`**:当训练周期（epoch）达到某个里程碑时，每个参数组的学习率会按 gamma 因子进行衰减。请注意，这种衰减可以与来自外部调度器的其他学习率变化同时发生。

   参数：`milestones`（列表）：训练周期索引的列表，要求必须是递增的。
   	    `gamma`（浮点数）：学习率衰减时所使用的乘法因子。

5. **`ConstantLR`**: