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.
- Links to devel:languages:python / python-cstruct
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:yarunachalam:branches:devel:languages:python/python-cstruct && cd $_
- Create Badge
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000130 130 Bytes | |
python-cstruct-5.2.tar.gz | 0000038551 37.6 KB | |
python-cstruct.changes | 0000001912 1.87 KB | |
python-cstruct.spec | 0000002163 2.11 KB |
Latest Revision
Yogalakshmi Arunachalam (yarunachalam)
committed
(revision 1)
Comments 0