Easily parse binary file in python3.8
Project description
auto_struct
Python 3.8 module using annotations and dataclasses for easily writing parsers for binary data
- Parse packed binary data using declarative forms
- Easily validate parsed data
- Easily nest structs
- No Dependencies :)
Usage example
See this
Contribution
Contributers are welcome!
TODO:
- Method documentation (WIP)
- Documentation (WIP)
- More examples
- Tests
- Dynamic sized structs (e.g.
struct a{ int len; char data[] };
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auto_struct-0.451.tar.gz
(6.9 kB
view hashes)