Library of web-related functions
Project description
Overview
This is a Python library of web-related functions, such as:
remove comments, or tags from HTML snippets
extract base url from HTML snippets
translate entites on HTML strings
convert raw HTTP headers to dicts and vice-versa
construct HTTP auth header
converting HTML pages to unicode
sanitize urls (like browsers do)
extract arguments from urls
Requirements
Python 3.8+
Install
pip install w3lib
Documentation
License
The w3lib library is licensed under the BSD license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
w3lib-2.2.0.tar.gz
(49.4 kB
view details)
Built Distribution
w3lib-2.2.0-py3-none-any.whl
(21.9 kB
view details)
File details
Details for the file w3lib-2.2.0.tar.gz
.
File metadata
- Download URL: w3lib-2.2.0.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a11148a8e25d63bac836bedd4e82fdb3fc77e91889eab07e132c17d023af0d |
|
MD5 | 4cc5e07d93163bba634be1d4c7b679af |
|
BLAKE2b-256 | 2a4319924573cd0b8685013a6fceb89e122ff81a2f35ed301f89683a94e93868 |
Provenance
File details
Details for the file w3lib-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: w3lib-2.2.0-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a969d68e98f1c95f1efa1b51db73da6480f53269a65bf8180b0f43327723fa24 |
|
MD5 | bc348f19cb057ddf7549b4918aacf111 |
|
BLAKE2b-256 | a450fb374e6cc15169fdf71f027d83d1b21210001a2d7e90266f5b1e09636c68 |