python-cstruct

C-style structs for Python

Convert C struct definitions into Python classes with methods for serializing/deserializing. The usage is very simple: create a class subclassing cstruct.CStruct and add a C struct definition as a string in the struct field. The C struct definition is parsed at runtime and the struct format string is generated. The class offers the method "unpack" for deserializing a string of bytes into a Python object and the method "pack" for serializing the values into a string.

There is no official package available for openSUSE Leap 16.0

التوزيعات

openSUSE Tumbleweed

openSUSE Leap 16.0

home:mnhauke المجتمع
6.1

openSUSE Leap 15.6

openSUSE Leap 15.5

SLFO 1.2

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

توزيعات غير مدعومة

التوزيعات التالية غير معتمدة رسميًا. استخدم هذه الحزم على مسؤوليتك الخاصة.