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

Uploaded Source

File details

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

File metadata

  • Download URL: auto_struct-0.460.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for auto_struct-0.460.tar.gz
Algorithm Hash digest
SHA256 b2b8b25b82a22fc6857a44d607902042db422938756cd444abbdf26b6d10280c
MD5 3cf4c316236fe7183a97e1ce5303c0b5
BLAKE2b-256 2cf5b8e044ec7d51d4a8adf88cf1df80b67bfc93e3db8d6a586abf6fc09bd26f

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