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

Last updated: November 08,2024

1. Install "python311-cstruct" package

This guide covers the steps necessary to install python311-cstruct on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python311-cstruct

2. Uninstall "python311-cstruct" package

In this section, we are going to explain the necessary steps to uninstall python311-cstruct on openSuSE Tumbleweed:

$ sudo zypper remove python311-cstruct

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

Information for package python311-cstruct:
------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-cstruct
Version : 5.3-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 186.9 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.