Compressors Module

This module contains classes and functions related to compressors in the EventManager.

class EventManager.compressors.ZipCompressor[source]

Bases: Compressors

A class for compressing files using the ZIP format.

static compress(file_path: str)[source]

Compress the given file.

Parameters:

file_path – Path to the file to be compressed.

class EventManager.compressors.GzipCompressor[source]

Bases: Compressors

The GzipCompressor class is responsible for compressing log files using the GZIP format.

static compress(file_path: str)[source]

Compress the given file.

Parameters:

file_path – Path to the file to be compressed.