C-style structs for Python
http://github.com/andreax79/python-cstruct
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:rguenther:plgrnd/python-cstruct && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| python-cstruct-6.1.tar.gz | 0000041085 40.1 KB | |
| python-cstruct.changes | 0000002701 2.64 KB | |
| python-cstruct.spec | 0000002266 2.21 KB | |
| support-python314.patch | 0000000712 712 Bytes |
Comments 0