How to Install and Uninstall python3-wsgi-intercept Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "python3-wsgi-intercept" package

In this section, we are going to explain the necessary steps to install python3-wsgi-intercept on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-wsgi-intercept

2. Uninstall "python3-wsgi-intercept" package

In this section, we are going to explain the necessary steps to uninstall python3-wsgi-intercept on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-wsgi-intercept $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-wsgi-intercept package on Ubuntu 21.10 (Impish Indri)

Package: python3-wsgi-intercept
Architecture: all
Version: 1.9.2-1ubuntu1
Priority: optional
Section: universe/python
Source: python-wsgi-intercept
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: python3-six, python3:any
Filename: pool/universe/p/python-wsgi-intercept/python3-wsgi-intercept_1.9.2-1ubuntu1_all.deb
Size: 18780
MD5sum: c462ce63b20daf7e186b85ca8ce96ec6
SHA1: 1de4a222879c0cb438cfec2e7bbce0547162360e
SHA256: 76f4afa29e1a9d0d45d5dfacc145dc60314d91d788a1bcefc697c6bca37bb345
SHA512: 4674920d1bd5727c9937e6b15e20c7c9818b8e52cf8c2792e698b960af5806e89e14f5d580e3177d53287e7185dbbc7d810a9388fc6b10225fa137436fe67f13
Homepage: https://github.com/cdent/wsgi-intercept
Description-en: installs a WSGI application in place of a real URI for testing (python3)
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. Thus, you can
avoid spawning multiple processes or threads to test your Web app.
.
wsgi_intercept works by replacing httplib.HTTPConnection with a subclass,
wsgi_intercept.WSGI_HTTPConnection. This class then redirects specific
server/port combinations into a WSGI application by emulating a socket. If no
intercept is registered for the host and port requested, those requests are
passed on to the standard handler.
.
This package provides a python3 module.
Description-md5: 41bba37d5f018511e0cf6888b10c1207