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.450.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file auto_struct-0.450.tar.gz.

File metadata

  • Download URL: auto_struct-0.450.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for auto_struct-0.450.tar.gz
Algorithm Hash digest
SHA256 9ff79a0bd23482bd32713d8b4802ca8395a7223410bd56a9983d13c4f301d09e
MD5 9208a172c0732e01afb123a092b54578
BLAKE2b-256 49b127196e6befc97517c4f64fa4255807c2af26d986c8eaf2d1e1ece074f744

See more details on using hashes here.

Provenance

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