rhyton.export¶
Module for exporting data to various formats.
- class CsvExporter[source]¶
Bases:
rhyton.export.ExportBaseExports data to a csv file.
- static prepFile(file, extension)¶
Prepares the file path for writing.
- Parameters
file (str) – The file path.
extension (str) – The file extension.
- Returns
The file path.
- Return type
str
- class JsonExporter[source]¶
Bases:
rhyton.export.ExportBaseExports data to a json file.
- static append(data, file)[source]¶
Appends data to a json file.
- Parameters
data (dict) – The data to append.
file (str) – The file path.
- Returns
The file path.
- Return type
str
- static prepFile(file, extension)¶
Prepares the file path for writing.
- Parameters
file (str) – The file path.
extension (str) – The file extension.
- Returns
The file path.
- Return type
str