opfython.utils.converter

Converts OPF binary data to a variety of extensions.

opfython.utils.converter.logger
opfython.utils.converter.opf2csv(opf_path: str, output_file: Optional[str] = None)

Converts a binary OPF file (.dat or .opf) to a .csv file.

Parameters
  • opf_path – Path to the binary file.

  • output_file – The path to the output file.

opfython.utils.converter.opf2json(opf_path: str, output_file: Optional[str] = None)

Converts a binary OPF file (.dat or .opf) to a .json file.

Parameters
  • opf_path – Path to the binary file.

  • output_file – The path to the output file.

opfython.utils.converter.opf2txt(opf_path: str, output_file: Optional[str] = None)

Converts a binary OPF file (.dat or .opf) to a .txt file.

Parameters
  • opf_path – Path to the binary file.

  • output_file – The path to the output file.