auto-struct-0.700
توضیحات
Easily parse binary file in python3.8
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | auto-struct-0.700 |
| نام | auto-struct |
| نسخه کتابخانه | 0.700 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | efi |
| ایمیل نویسنده | valmarelox@gmail.com |
| آدرس صفحه اصلی | https://github.com/Valmarelox/auto_struct/tree/master |
| آدرس اینترنتی | https://pypi.org/project/auto-struct/ |
| مجوز | MIT |
# 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](https://github.com/Valmarelox/auto_struct/blob/master/examples/elf_header_parser.py)
### Contribution
Contributors are welcome!
### TODO:
- Method documentation (WIP)
- Documentation (WIP)
- More examples
- Tests
- Intermediate types/Binding two types - (E.g. in memory type vs how should it be used)
- API Should probably be some `def twin(self)`?
-
- Dynamic sized structs (e.g. `struct a{ int len; char data[] };`)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl auto-struct-0.700:
pip install auto-struct-0.700.whl
نصب پکیج tar.gz auto-struct-0.700:
pip install auto-struct-0.700.tar.gz