How to Install and Uninstall python3-w3lib Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 24,2024

1. Install "python3-w3lib" package

Please follow the guidance below to install python3-w3lib on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-w3lib

2. Uninstall "python3-w3lib" package

Please follow the step by step instructions below to uninstall python3-w3lib on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the python3-w3lib package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-w3lib
Architecture: all
Version: 1.22.0-2
Priority: optional
Section: universe/python
Source: python-w3lib
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules 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-2_all.deb
Size: 19380
MD5sum: 9c686b7fb7ee51e089e5c19186bc555e
SHA1: 439abdddee18eac1f60ca0d31fdec28b15a68358
SHA256: 52beda472a9d3fd4caf083e8ae040f5d66e56245e0984670d60fddde17791255
SHA512: 855f9eba430e3490ea786faaff46dcfbc3936c4574e7f182211a19b710506106defbf763b4c817e316a71207ce4189aae2af4b24f043560004fd3155b190c1d5
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