How to Install and Uninstall python310-cstruct Package on openSuSE Tumbleweed

Last updated: December 27,2024

1. Install "python310-cstruct" package

Learn how to install python310-cstruct on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python310-cstruct

2. Uninstall "python310-cstruct" package

Please follow the guidelines below to uninstall python310-cstruct on openSuSE Tumbleweed:

$ sudo zypper remove python310-cstruct

3. Information about the python310-cstruct package on openSuSE Tumbleweed

Information for package python310-cstruct:
------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python310-cstruct
Version : 5.3-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 149.0 KiB
Installed : No
Status : not installed
Source package : python-cstruct-5.3-1.4.src
Upstream URL : https://github.com/andreax79/python-cstruct
Summary : C-style structs for Python
Description :
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.