A package containing utilities for file and directory management, ZIP operations, and more.
Project description
CD_Directory_Manager: Directory Manager Package
CD is for Code Docta.
The CD_Directory_Manager
project houses the Directory Manager
package, a comprehensive set of utilities designed for efficient file and directory management, ZIP operations, and more.
Installation
To install the Directory Manager
package, you can use pip:
pip install cd-directory-manager
Update
pip install --upgrade cd-directory-manager
Features
The Directory Manager
package contains the following classes, each in its separate file:
1. Directory Manager
- File:
directory_manager.py
- Description: Manages directory-related operations like creating, deleting, listing files, and more.
2. File Manager
- File:
file_manager.py
- Description: Handles various file operations like reading, writing, and managing different file formats such as JSON, CSV, HTML, and Pickle.
3. Path Manager
- File:
path_manager.py
- Description: Provides utilities for handling and manipulating file paths in a cross-platform manner.
4. FileDialogs
-
File:
tk_file_dialog.py
-
Description: Facilitates file dialog operations for TKinter.
-
File:
ps_file_dialog.py
-
Description: Facilitates file dialog operations for PySide6.
-
File:
pqt_file_dialog.py
-
Description: Facilitates file dialog operations for PyQt6.
5. Zip Manager
- File:
zipper.py
- Description: Manages ZIP-related operations, including zipping and unzipping files and directories.
Usage
Each class provides static methods that can be used directly without instantiating the class. For detailed usage, refer to the docstrings within each class file.
Example:
from CD_DM.Directory_Manager.file_manager import FileManager as fm
data = fm.read_json("path_to_json_file.json")
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License. See the LICENSE
file for details.
More documentation at: Code Docta
To Do
unitest
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
Built Distribution
Hashes for cd_directory_manager-0.4.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9e6ad1f6a7ccc7dcbf0d7d99e5cc591abc4a903195c107e7e9ca132cb5b4400 |
|
MD5 | 8b1dca797d330c83ece71c6d98abac94 |
|
BLAKE2b-256 | 6d82c44e03bda08fd54742dacd244737749214f79ab753792a0f7e417ebe43f3 |
Hashes for cd_directory_manager-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e8d90892401290b5813051fced795862cce8fb972cf20a8d95831c643c79d24 |
|
MD5 | d4ecdcb966a9ba67e0f577e04687dce3 |
|
BLAKE2b-256 | e15cfd966c303d26e322ffc91c37887faf98183060f7262b0e6ec1ee74989eb7 |