How To Install python3-serpy on Fedora 36

In this tutorial we learn how to install python3-serpy in Fedora 36. python3-serpy is Ridiculously fast object serialization

Introduction

In this tutorial we learn how to install python3-serpy on Fedora 36.

What is python3-serpy

serpy is a super simple object serialization framework built for speed. serpy serializes complex datatypes (Django Models, custom classes, …) to simple native types (dicts, lists, strings, …). The native types can easily be converted to JSON or any other format needed. The goal of serpy is to be able to do this simply, reliably, and quickly. Since serializers are class based, they can be combined, extended and customized with very little code duplication. Compared to other popular Python serialization frameworks like marshmallow or Django Rest Framework Serializers serpy is at least an order of magnitude faster. Python 3 version.

We can use yum or dnf to install python3-serpy on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-serpy.

Install python3-serpy on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-serpy using dnf by running the following command:

sudo dnf -y install python3-serpy

Install python3-serpy on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-serpy using yum by running the following command:

sudo yum -y install python3-serpy

How To Uninstall python3-serpy on Fedora 36

To uninstall only the python3-serpy package we can use the following command:

sudo dnf remove python3-serpy

python3-serpy Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/serpy
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/serpy-0.3.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/serpy/__init__.py
/usr/lib/python3.10/site-packages/serpy/__pycache__
/usr/lib/python3.10/site-packages/serpy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serpy/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/serpy/__pycache__/fields.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serpy/__pycache__/fields.cpython-310.pyc
/usr/lib/python3.10/site-packages/serpy/__pycache__/serializer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/serpy/__pycache__/serializer.cpython-310.pyc
/usr/lib/python3.10/site-packages/serpy/fields.py
/usr/lib/python3.10/site-packages/serpy/serializer.py
/usr/share/doc/python3-serpy
/usr/share/doc/python3-serpy/README.rst
/usr/share/licenses/python3-serpy
/usr/share/licenses/python3-serpy/LICENSE

References

Summary

In this tutorial we learn how to install python3-serpy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).