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 -U 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. 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:
See all exampled in examples folder.
Use the same import fo all modules.
Directory/Folder Management
import cd_directory_manager as dm
dm.folder_mngr.delete_directory()
File Management
data = dm.file_mngr.read_json("path_to_json_file.json")
Path Management
dm.path_mngr()
Zip Management
dm.zip_mngr.zip_file()
See more examples in examples folder.
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
Release files for cd-directory-manager 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cd_directory_manager-0.6.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cd_directory_manager-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / cd_directory_manager-0.6.0.tar.gz
| Download URL | cd_directory_manager-0.6.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72965dddf1912c6b13cc6aadb2de841e49aeaf46eac0562e864f9d6b4194ba78
|
|
BLAKE2b-256 checksum How to use checksums |
d3b51a41ebb12a2bff305796e11e24ed647135f2e52b759ab2023322fe4c9373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Windows/10
|
Release files / cd_directory_manager-0.6.0-py3-none-any.whl
| Download URL | cd_directory_manager-0.6.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64944a9be4d559603b9b0c769761414466cb13c5dd1c7f65a62b3400db38bf44
|
|
BLAKE2b-256 checksum How to use checksums |
32bc605bc80a01418505b415a36405d8020a78030e46e1131f07828c16fbc9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Windows/10
|