See https://gitter.im/kaitai_struct/Lobby?at=6058ce092beb1e1da3c30cfa
Install Kaitai Struct runtime library for Python:
python3 -m pip install kaitaistructGenerate test file sample.bin:
python3 ./generate_sample.pyGenerate Python parsing code from .ksy files:
kaitai-struct-compiler -- --verbose file -d compiled -t python *.ksyRun the benchmark:
python3 ./index.py