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

Last updated: May 20,2024

1. Install "python3-w3lib" package

Here is a brief guide to show you how to install python3-w3lib on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-w3lib

2. Uninstall "python3-w3lib" package

This guide covers the steps necessary to uninstall python3-w3lib on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-w3lib $ sudo apt autoclean && sudo apt autoremove

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

Package: python3-w3lib
Architecture: all
Version: 1.22.0-3
Priority: optional
Section: universe/python
Source: python-w3lib
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77
Depends: python3-six (>= 1.6.1), python3:any
Filename: pool/universe/p/python-w3lib/python3-w3lib_1.22.0-3_all.deb
Size: 19244
MD5sum: e7e59985bd8ac034a5468111eba1008e
SHA1: 5da1276324aa23e33bc500ff7bc9da89d98a3f96
SHA256: f6d193056d3dc736de806f9f54667c4cc2dfb554869d904897e5c6f0854a29c5
SHA512: b0b23cb2fa0483d44e3b48487cd7ccf5a591d4de9ac5fa6949ce71fb1ee4b38f0818fa1477cfcf802a21bcc50cdb6c73b6f72b366e6056e0126be86226004e37
Homepage: https://pypi.python.org/pypi/w3lib
Description-en: Collection of web-related functions (Python 3)
Python module with simple, reusable functions to work with URLs, HTML,
forms, and HTTP, that aren’t found in the Python standard library.
.
This module is used to, for example:
- remove comments, or tags from HTML snippets
- extract base url from HTML snippets
- translate entities on HTML strings
- encoding mulitpart/form-data
- convert raw HTTP headers to dicts and vice-versa
- construct HTTP auth header
- RFC-compliant url joining
- sanitize urls (like browsers do)
- extract arguments from urls
.
The code of w3lib was originally part of the Scrapy framework but was later
stripped out of Scrapy, with the aim of make it more reusable and to provide
a useful library of web functions without depending on Scrapy.
.
This is the Python 3 version of the package.
Description-md5: bf858cdf9b666de37a9c267fc3601c5d