{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools"}],"enrichment":{"capability":"Kaitai Struct provides a Python runtime library for parsing binary data structures described in a declarative YAML-based format, enabling you to read and unpack binary file formats and network packets without writing custom parsing code.","skillfed_tags":["binary-parsing","declarative-format","cross-language"],"use_cases":["Parse custom binary file formats (e.g., image headers, audio metadata) by defining the structure once in .ksy and reusing across languages.","Decode network packet formats by describing the protocol structure declaratively and letting the runtime extract fields automatically.","Reverse-engineer or document binary file formats by writing a .ksy description that serves as both specification and working parser.","Build cross-language tools where the same binary format description compiles to multiple languages, reducing duplication.","Unpack structured binary data from embedded systems or legacy protocols without manual bit-shifting and byte-order handling."],"what_it_does":"Kaitai Struct is a declarative approach to binary data parsing. Instead of writing custom code to read and unpack binary structures, you describe the format in a YAML-based .ksy file, compile it with the Kaitai Struct compiler, and use this runtime library to instantiate and navigate the parsed data. The library implements the Kaitai Struct API for Python, providing stream-based access to binary data with automatic field extraction and type handling.\n\nIt is language-agnostic\u2014the same .ksy description can be compiled to many target languages\u2014but this package handles only the Python runtime side. You provide the compiled parser class, and the library handles the low-level stream reading. It supports Python 2.7 and Python 3.4 through 3.13, with a single runtime dependency (enum34 for older Python versions).","worth_installing":"Yes, if you are already using Kaitai Struct to describe binary formats. The runtime is lightweight, permissively licensed, and actively maintained. Install it only after you have a compiled .ksy parser class ready; the library alone does not parse anything without that upstream compilation step. Not relevant if you are hand-writing binary parsers or using a different declarative format."},"id":"kaitaistruct","links":{"html":"https://skillfed.io/packages/kaitaistruct","md":"https://skillfed.io/packages/kaitaistruct.md","pypi":"https://pypi.org/project/kaitaistruct/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-08","license_spdx":null,"license_treatment":"permissive","name":"kaitaistruct","python_support":"supports_current","summary":"Kaitai Struct declarative parser generator for binary data: runtime library for Python"},"popularity":{"monthly_downloads":8459843,"position":1621,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.11"}
