How to Install and Uninstall python3-wsgi-intercept Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python3-wsgi-intercept" package

This guide let you learn how to install python3-wsgi-intercept on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "python3-wsgi-intercept" package

Please follow the guidance below to uninstall python3-wsgi-intercept on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python3-wsgi-intercept package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-wsgi-intercept
Priority: optional
Section: universe/python
Installed-Size: 59
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Source: python-wsgi-intercept
Version: 1.1.2-2
Depends: python3-six, python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-wsgi-intercept/python3-wsgi-intercept_1.1.2-2_all.deb
Size: 13094
MD5sum: e62972a0af32ba5e92466ba65203fa63
SHA1: e59bf996d9b2f5403d2dec7445ce03a880ed142f
SHA256: c91dcf1b8a52e4b09369f020d2fb338e7223f02577ca2f7d717c8e493dac5629
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
Homepage: https://github.com/cdent/wsgi-intercept
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu