w3lib
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 2.7 or Python 3.3+
Install
pip install w3lib
Documentation
License
The w3lib library is licensed under the BSD license.
Release files for w3lib 1.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| w3lib-1.11.0.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| w3lib-1.11.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 26.9 kB
Release files / w3lib-1.11.0.tar.gz
| Download URL | w3lib-1.11.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
826f6184232c385b7c8038ef7ae5506f1cb3f8fa470ac12ce0fb6fb0a592fb92
|
|
BLAKE2b-256 checksum How to use checksums |
381f3bcd2549e7e8cf26c2574474a8ffc03f91d13a9f9d3fff86e8a47e23e7c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / w3lib-1.11.0-py2.py3-none-any.whl
| Download URL | w3lib-1.11.0-py2.py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d06df19d0a7dfd06fb8d4b7c58e3f3bdc1862a2c92e145bbb7d5526008a54f8a
|
|
BLAKE2b-256 checksum How to use checksums |
36e18717334035de69a638b42cbec59736adda4da1cdc67aec6a09075f9c0800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |