Skip to main content

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.600.tar.gz (7.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page