Exporting.ExportManager
index
c:\users\adamj\onedrive\pulpit\olx-scrapper\src\exporting\exportmanager.py

 
Modules
       
dicttoxml
json
pandas

 
Classes
       
builtins.object
ExportManager
enum.Enum(builtins.object)
ExportFormat

 
class ExportFormat(enum.Enum)
    ExportFormat(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
Enum class for supported export formats.
 
 
Method resolution order:
ExportFormat
enum.Enum
builtins.object

Data and other attributes defined here:
CSV = <ExportFormat.CSV: 'csv'>
EXCEL = <ExportFormat.EXCEL: 'excel'>
JSON = <ExportFormat.JSON: 'json'>
PDF = <ExportFormat.PDF: 'pdf'>
XML = <ExportFormat.XML: 'xml'>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ExportManager(builtins.object)
    ExportManager(export_format: Exporting.ExportManager.ExportFormat, output_config: dict, data_frames: dict[str, pandas.core.frame.DataFrame])
 
Class for exporting data to various formats.
 
  Methods defined here:
__init__(self, export_format: Exporting.ExportManager.ExportFormat, output_config: dict, data_frames: dict[str, pandas.core.frame.DataFrame])
Initializes the ExportManager with the specified export format, output configuration, and data frames.
:param export_format: The format to export the data to
:param output_config: The configuration for the output file
:param data_frames: The data frames to export
export_data(self) -> None
Exports the data to the specified format.
:return:

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)