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

Last updated: December 29,2024

1. Install "python39-cstruct" package

In this section, we are going to explain the necessary steps to install python39-cstruct on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python39-cstruct

2. Uninstall "python39-cstruct" package

This guide let you learn how to uninstall python39-cstruct on openSuSE Tumbleweed:

$ sudo zypper remove python39-cstruct

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

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