We need to export to tabulated format (csv, xls... ) or to export form these formats. Other formats could also be interesting.
Solution:
Instead of writing completely new module, we can take advantage that Pandas is already present in the required package and write some wrappers to the function present in this library:
https://pandas.pydata.org/pandas-docs/stable/reference/io.html