chunker

Easy Chunk-Based File Structure Parser


License
Other
Install
pip install chunker==1.1

Documentation

Chunker - Easy Chunk-Based File Structure Parsing

Chunker provides simple APIs to help parsing chunk-based file structure such as Zip/PNG/JPEG/WAV, etc.

You simply define the structure and Chunker handles the rest.

For more information, see docs here

Installation

You can install Chunker with pip:

$ pip install chunker

Change Logs

  • v1.1 Chunk.safe_matches() to auto restore offset before matching.

  • v1.0 First version.

Todos

Here are some parts that are not complete or I'm not very satisfied with:

  • More pre-defined field types.

Feel free to send me pull requests if you have any other idea to improve Chunker.