binmap
binmap copied to clipboard
Python base class for creating binary parsing and packing classes
It fails fine when instantiating an object with unknow attribute but not when assigning it. Like: ``` class Temp(BinmapDataClass): temp: signedchar = 0 t = Temp(hum=40) ``` but not ```...
- [x] constant - [x] pading - [ ] stringfield - [x] IntEnum - [x] FlagEnum
Classes that have paddings can't be presented with `dataclasses.astuple` or `dataclasses.asdict`
Could `TypeError` be used? Some `ValueError` should perhaps be changed to `AttributeError`.
Should string and pascalstring be bytes instead of strings?
Should it only look at __signature__ or should it take _formatstring in consideration? Not taking _formatstring in consideration is more like a casting?
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.9.0 💅 Cosmetic Output Improvements @woodruffw💰 updated the tense on password nudge in #234 @shenxianpeng💰 helped us disable...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.0 to 1.10.3. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.10.3 💅 Cosmetic Output Improvements In #270, @facutuesca💰 made a follow-up to their previous PR #250, making the...