Project: kaitaistruct

Kaitai Struct declarative parser generator for binary data: runtime library for Python

Project Details

Latest version
0.10
Home Page
https://kaitai.io
PyPI Page
https://pypi.org/project/kaitaistruct/

Project Popularity

PageRank
0.003040967711051709
Number of downloads
501298

Kaitai Struct: runtime library for Python

PyPI PyPI - Python Version

This library implements Kaitai Struct API for Python.

Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.

It is similar to Python's Construct 2.10 but it is language-agnostic. The format description is done in YAML-based .ksy format, which then can be compiled into a wide range of target languages.

Further reading: