<filename>querido_diario_toolbox/etl/text_extractor_interface.py
import abc


class TextExtractor(abc.ABC):
    """
    Text extractor interface. This interface define the methods that all text
    extractor should have in order to properly work with the library
    """

    @abc.abstractmethod
    def extract_text(self, gazette):
        """
        Extract the text from the given gazette.
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def load_content(self, gazette):
        """
        Load into memory the text from the given gazette.
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def extract_metadata(self, gazette):
        """
        Extract the given gazette file metadata
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def load_metadata(self, gazette):
        """
        Load into memory the given gazette file metadata
        """
        raise NotImplementedError()

<filename>querido_diario_toolbox/etl/text_extractor_interface.py
import abc


class TextExtractor(abc.ABC):
    """
    Text extractor interface. This interface define the methods that all text
    extractor should have in order to properly work with the library
    """

    @abc.abstractmethod
    def extract_text(self, gazette):
        """
        Extract the text from the given gazette.
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def load_content(self, gazette):
        """
        Load into memory the text from the given gazette.
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def extract_metadata(self, gazette):
        """
        Extract the given gazette file metadata
        """
        raise NotImplementedError()

    @abc.abstractmethod
    def load_metadata(self, gazette):
        """
        Load into memory the given gazette file metadata
        """
        raise NotImplementedError()

Text extractor interface. This interface define the methods that all text     extractor should have in order to properly work with the library Extract the text from the given gazette. Load into memory the text from the given gazette. Extract the given gazette file metadata Load into memory the given gazette file metadata