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

Last updated: May 20,2024

1. Install "python3-w3lib" package

Learn how to install python3-w3lib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-w3lib

2. Uninstall "python3-w3lib" package

Here is a brief guide to show you how to uninstall python3-w3lib on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python3-w3lib
Priority: optional
Section: universe/python
Installed-Size: 83
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: python-w3lib
Version: 1.11.0-1
Depends: python3-six (>= 1.6.1), python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-w3lib/python3-w3lib_1.11.0-1_all.deb
Size: 14112
MD5sum: ef9fa793f05b0328c4cd95e51afa30ad
SHA1: 18f25f06e3676d094f6986d81cf80de8065c8f91
SHA256: b872a2c9c3d1bb32e3ddc12cb5650fd31116a10cd424df9ff31e18bb698aaad3
Description-en: Collection of web-related functions for Python (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 entites 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: d036aa14daba70bf73e46261751b13ca
Homepage: http://pypi.python.org/pypi/w3lib
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu