Skip to main content

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

cd_directory_manager-0.4.4.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

cd_directory_manager-0.4.4-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page