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 -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

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.6.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

cd_directory_manager-0.6.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file cd_directory_manager-0.6.0.tar.gz.

File metadata

  • Download URL: cd_directory_manager-0.6.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/10

File hashes

Hashes for cd_directory_manager-0.6.0.tar.gz
Algorithm Hash digest
SHA256 72965dddf1912c6b13cc6aadb2de841e49aeaf46eac0562e864f9d6b4194ba78
MD5 fb54cd813ad08697d561f7b8ee019ce2
BLAKE2b-256 d3b51a41ebb12a2bff305796e11e24ed647135f2e52b759ab2023322fe4c9373

See more details on using hashes here.

File details

Details for the file cd_directory_manager-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cd_directory_manager-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64944a9be4d559603b9b0c769761414466cb13c5dd1c7f65a62b3400db38bf44
MD5 6fd1e1f2e2a399e592f8a1cbaa0acdfe
BLAKE2b-256 32bc605bc80a01418505b415a36405d8020a78030e46e1131f07828c16fbc9d7

See more details on using hashes here.

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