pymchelper.readers.shieldhit.general module¶
-
class
pymchelper.readers.shieldhit.general.
SHFileFormatId
[source]¶ Bases:
enum.IntEnum
SHIELD-HIT12A file format ids, as described in sh_file_format.h file
-
ascii
= 3¶
-
bdo2016
= 1¶
-
bdo2019
= 2¶
-
bin2010
= 0¶
-
csv
= 4¶
-
-
class
pymchelper.readers.shieldhit.general.
SHReaderASCII
(filename)[source]¶ Bases:
object
Reads plain text files with data saved by binary-to-ascii converter.
-
pymchelper.readers.shieldhit.general.
extract_sh_ver
(filename)[source]¶ BDO binary files, introduced in 2016 (BDO2016 and BDO2019 formats) contain information about SH VER :param filename: Binary file filename :return: SH12 version (as a string, i.e. 0.7) or None if version information was not found in the file