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

Last updated: September 28,2024

1. Install "python-w3lib" package

This guide let you learn how to install python-w3lib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-w3lib

2. Uninstall "python-w3lib" package

Learn how to uninstall python-w3lib on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-w3lib
Priority: optional
Section: universe/python
Installed-Size: 83
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.11.0-1
Depends: python-six (>= 1.6.1), python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-w3lib/python-w3lib_1.11.0-1_all.deb
Size: 14014
MD5sum: a9543257934917d073ec300cc16ffcdb
SHA1: 1c447d80934b459f16f7563a1f72c9693ea76331
SHA256: 1c0677891bc2f7e36bee7eca1de4d9aa72d8776946dc21e2184af9cbb8ab3696
Description-en: Collection of web-related functions for Python (Python 2)
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 2 version of the package.
Description-md5: d07aad376bbfafb33978aa27900532a0
Homepage: http://pypi.python.org/pypi/w3lib
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu