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

Last updated: May 16,2024

1. Install "python2-canonicaljson" package

Learn how to install python2-canonicaljson on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-canonicaljson

2. Uninstall "python2-canonicaljson" package

Please follow the guidelines below to uninstall python2-canonicaljson on openSUSE Leap:

$ sudo zypper remove python2-canonicaljson

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

Information for package python2-canonicaljson:
----------------------------------------------
Repository : Main Repository
Name : python2-canonicaljson
Version : 1.1.4-bp153.1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 21,3 KiB
Installed : No
Status : not installed
Source package : python-canonicaljson-1.1.4-bp153.1.15.src
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.