# CD_DM: Directory Manager Package
CD is for Code Docta.
The `CD_DM` 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:
```bash
pip install CD-DM==0.3.1
```
## 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:
```python
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.
# To Do
add documentation to codedocta.com
unitest
Raw data
{
"_id": null,
"home_page": "https://codedocta.com",
"name": "CD-MD",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "file management,directory management,zip operations",
"author": "codedocta",
"author_email": "codedocta@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/15/95/1a2a5486bfdb1bd1a64715ec35f5c3bb8cfb2376f7eacb25134d97c83cef/CD_MD-0.3.1.tar.gz",
"platform": null,
"description": "# CD_DM: Directory Manager Package\r\nCD is for Code Docta.\r\n\r\n\r\nThe `CD_DM` project houses the `Directory Manager` package, a comprehensive set of utilities designed for efficient file and directory management, ZIP operations, and more.\r\n\r\n## Installation\r\n\r\nTo install the `Directory Manager` package, you can use pip:\r\n\r\n```bash\r\npip install CD-DM==0.3.1\r\n```\r\n\r\n## Features\r\n\r\nThe `Directory Manager` package contains the following classes, each in its separate file:\r\n\r\n### 1. Directory Manager\r\n\r\n- **File**: `directory_manager.py`\r\n- **Description**: Manages directory-related operations like creating, deleting, listing files, and more.\r\n\r\n\r\n### 2. File Manager\r\n\r\n- **File**: `file_manager.py`\r\n- **Description**: Handles various file operations like reading, writing, and managing different file formats such as JSON, CSV, HTML, and Pickle.\r\n\r\n\r\n### 3. Path Manager\r\n\r\n- **File**: `path_manager.py`\r\n- **Description**: Provides utilities for handling and manipulating file paths in a cross-platform manner.\r\n\r\n### 4. FileDialogs\r\n\r\n- **File**: `tk_file_dialog.py`\r\n- **Description**: Facilitates file dialog operations for TKinter.\r\n\r\n\r\n- **File**: `ps_file_dialog.py`\r\n- **Description**: Facilitates file dialog operations for PySide6.\r\n\r\n\r\n- **File**: `pqt_file_dialog.py`\r\n- **Description**: Facilitates file dialog operations for PyQt6.\r\n\r\n\r\n### 5. Zip Manager\r\n\r\n- **File**: `zipper.py`\r\n- **Description**: Manages ZIP-related operations, including zipping and unzipping files and directories.\r\n\r\n## Usage\r\n\r\nEach class provides static methods that can be used directly without instantiating the class. For detailed usage, refer to the docstrings within each class file.\r\n\r\nExample:\r\n\r\n```python\r\nfrom CD_DM.Directory_Manager.file_manager import FileManager as fm\r\n\r\ndata = fm.read_json(\"path_to_json_file.json\")\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\r\n\r\n# To Do\r\n\r\nadd documentation to codedocta.com\r\nunitest\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A package containing utilities for file and directory management, ZIP operations, and more.",
"version": "0.3.1",
"project_urls": {
"Bug Reports": "https://github.com/codedocta/CD_MD/issues",
"Homepage": "https://codedocta.com",
"Source": "https://github.com/codedocta/CD_MD/"
},
"split_keywords": [
"file management",
"directory management",
"zip operations"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a4515f67a0f03a990c5bf2fea5e7112b940807ee138a20d14aad3a0d25b74ec8",
"md5": "8d7fdb58a4df983a6195a959a1e87688",
"sha256": "ebd2151271356153c43f9c4fc371562d4a05930aef2c196b5ce1cc13aed77ee4"
},
"downloads": -1,
"filename": "CD_MD-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8d7fdb58a4df983a6195a959a1e87688",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10429,
"upload_time": "2023-10-20T22:42:18",
"upload_time_iso_8601": "2023-10-20T22:42:18.545309Z",
"url": "https://files.pythonhosted.org/packages/a4/51/5f67a0f03a990c5bf2fea5e7112b940807ee138a20d14aad3a0d25b74ec8/CD_MD-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "15951a2a5486bfdb1bd1a64715ec35f5c3bb8cfb2376f7eacb25134d97c83cef",
"md5": "52ea0f1ec743bb9187426ce6c31c6325",
"sha256": "32a5e0c342075949223494423ff8b32b528bab9eeccf51d0480f26093579c9a8"
},
"downloads": -1,
"filename": "CD_MD-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "52ea0f1ec743bb9187426ce6c31c6325",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8114,
"upload_time": "2023-10-20T22:42:20",
"upload_time_iso_8601": "2023-10-20T22:42:20.084484Z",
"url": "https://files.pythonhosted.org/packages/15/95/1a2a5486bfdb1bd1a64715ec35f5c3bb8cfb2376f7eacb25134d97c83cef/CD_MD-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-20 22:42:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "codedocta",
"github_project": "CD_MD",
"github_not_found": true,
"lcname": "cd-md"
}