https://formats.kaitai.io/gpt_partition_table/python-write.html
GPT (GUID) partition table: Python (read-write) parsing library
Kaitai Struct is a formal language for binary format specification that can be compiled into parser code
guid partition tablegptpythonreadwrite