How to Install and Uninstall python3-kgb.noarch Package on CentOS Stream 8

Last updated: June 28,2024

1. Install "python3-kgb.noarch" package

This is a short guide on how to install python3-kgb.noarch on CentOS Stream 8

$ sudo dnf update $ sudo dnf install python3-kgb.noarch

2. Uninstall "python3-kgb.noarch" package

This tutorial shows how to uninstall python3-kgb.noarch on CentOS Stream 8:

$ sudo dnf remove python3-kgb.noarch $ sudo dnf autoremove

3. Information about the python3-kgb.noarch package on CentOS Stream 8

Last metadata expiration check: 4:19:02 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : python3-kgb
Version : 7.1.1
Release : 1.el8
Architecture : noarch
Size : 70 k
Source : python-kgb-7.1.1-1.el8.src.rpm
Repository : epel
Summary : Intercept and record calls to functions
URL : https://github.com/beanbaginc/kgb
License : MIT
Description : Ever deal with a large test suite before, monkey patching functions to figure
: out whether it was called as expected? It’s a dirty job. If you’re not careful,
: you can make a mess of things. Leave behind evidence.
:
: kgb’s spies will take care of that little problem for you.
:
: What are spies? Spies intercept and record calls to functions. They can report
: on how many times a function was called and with what arguments. They can allow
: the function call to go through as normal, to block it, or to reroute it to
: another function.
:
: Spies are awesome.
:
: (If you’ve used Jasmine, you know this.)
:
: Spies are like mocks, but better. You’re not mocking the world. You’re
: replacing very specific function logic, or listening to functions without
: altering them.