Metadata-Version: 2.4
Name: doFolder
Version: 2.2.2
Summary: Manage files more easily
Author-email: kuankuan <2163826131@qq.com>
License-Expression: MulanPSL-2.0
Project-URL: Repository, https://github.com/kuankuan2007/do-folder
Project-URL: Issues, https://github.com/kuankuan2007/do-folder/issues
Project-URL: Documentation, https://do-folder.doc.kuankuan.site
Keywords: folder,file,manage,filesystem,directory
Classifier: Natural Language :: English
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: exceptiongroup
Requires-Dist: typing_extensions>=4.10.0
Requires-Dist: deprecated
Dynamic: license-file

# doFolder

`doFolder` is a simple and universal one-stop file/directory manager.

## Change From v1.\*.\*

- Manage the path using the built-in pathlib
- Change the class name from `Folder` to `Directory`(Maintain compatibility with the name `Folder` is still retained)
- When creating the `File` class, redirection to `Directory` is allowed

## Installation

```shell
pip install doFolder
```

## Usage

### File

```python
from doFolder import File, Directory

d1=Directory("path/to/directory")
f1=File("path/to/file")

# Create a file in the directory
f2=d1.create("new_file.txt")

# Move / Copy / Delete

f1.copy("path/to/new_directory")
f1.move("path/to/new_directory_1")

f1.delete()
```

## Open Source

The paackage is open source under [MulanPSL-2.0 license](./LICENSE)
