How To Install python3-wsgi_intercept on Fedora 36

In this tutorial we learn how to install python3-wsgi_intercept in Fedora 36. python3-wsgi_intercept is wsgi_intercept installs a WSGI application in place of a real URI for testing

Introduction

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

What is python3-wsgi_intercept

It installs a WSGI application in place of a real URI for testing. Testing a WSGI application normally involves starting a server at a local host and port, then pointing your test code to that address. Instead,this library lets you intercept calls to any specific host/port combination and redirect them into a WSGI application_ importable by your test program.

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

Install python3-wsgi_intercept 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-wsgi_intercept using dnf by running the following command:

sudo dnf -y install python3-wsgi_intercept

Install python3-wsgi_intercept 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-wsgi_intercept using yum by running the following command:

sudo yum -y install python3-wsgi_intercept

How To Uninstall python3-wsgi_intercept on Fedora 36

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

sudo dnf remove python3-wsgi_intercept

python3-wsgi_intercept Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/wsgi_intercept
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/wsgi_intercept-1.9.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/wsgi_intercept/__init__.py
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/_urllib3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/_urllib3.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/http_client_intercept.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/http_client_intercept.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/httplib2_intercept.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/httplib2_intercept.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/interceptor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/interceptor.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/requests_intercept.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/requests_intercept.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/urllib3_intercept.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/urllib3_intercept.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/urllib_intercept.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/__pycache__/urllib_intercept.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/_urllib3.py
/usr/lib/python3.10/site-packages/wsgi_intercept/http_client_intercept.py
/usr/lib/python3.10/site-packages/wsgi_intercept/httplib2_intercept.py
/usr/lib/python3.10/site-packages/wsgi_intercept/interceptor.py
/usr/lib/python3.10/site-packages/wsgi_intercept/requests_intercept.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__init__.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/install.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/install.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_http_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_http_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_httplib2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_httplib2.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_interceptor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_interceptor.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_module_interceptor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_module_interceptor.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_requests.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_requests.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_response_headers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_response_headers.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_urllib.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_urllib.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_urllib3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_urllib3.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_wsgi_compliance.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/test_wsgi_compliance.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/wsgi_app.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/__pycache__/wsgi_app.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/install.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_http_client.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_httplib2.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_interceptor.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_module_interceptor.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_requests.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_response_headers.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_urllib.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_urllib3.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/test_wsgi_compliance.py
/usr/lib/python3.10/site-packages/wsgi_intercept/tests/wsgi_app.py
/usr/lib/python3.10/site-packages/wsgi_intercept/urllib3_intercept.py
/usr/lib/python3.10/site-packages/wsgi_intercept/urllib_intercept.py
/usr/share/doc/python3-wsgi_intercept
/usr/share/doc/python3-wsgi_intercept/README
/usr/share/licenses/python3-wsgi_intercept
/usr/share/licenses/python3-wsgi_intercept/LICENSE

References

Summary

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