How to Install and Uninstall python3-canonicaljson Package on openSUSE Leap

Last updated: May 16,2024

1. Install "python3-canonicaljson" package

Please follow the guidance below to install python3-canonicaljson on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-canonicaljson

2. Uninstall "python3-canonicaljson" package

This guide covers the steps necessary to uninstall python3-canonicaljson on openSUSE Leap:

$ sudo zypper remove python3-canonicaljson

3. Information about the python3-canonicaljson package on openSUSE Leap

Information for package python3-canonicaljson:
----------------------------------------------
Repository : Main Repository
Name : python3-canonicaljson
Version : 1.1.4-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 23.1 KiB
Installed : No
Status : not installed
Source package : python-canonicaljson-1.1.4-bp155.2.9.src
Upstream URL : https://github.com/matrix-org/python-canonicaljson
Summary : Canonical JSON for Python
Description :
This is a Python module which encodes objects and arrays into JSON as per
RFC 7159.
* Sorts object keys so that it yields the same result each time.
* Has no insignificant whitespace to make the output as small as possible.
* Escapes only the characters that must be escaped, U+0000 to U+0019 /
U+0022 / U+0056, to keep the output as small as possible.
* Uses the shortest escape sequence for each escaped character.
* Encodes the JSON as UTF-8.
* Can encode frozendict immutable dictionaries.