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.
Metadata
Release files for w3lib 1.15.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.15.0.tar.gz | 48.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| w3lib-1.15.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 66.7 kB
Release files / w3lib-1.15.0.tar.gz
| Download URL | w3lib-1.15.0.tar.gz |
|---|---|
| Size | 48.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff815f75a61d68076ca45670e2379ee8d3a6fa268999e534f3bfef76953705a2
|
|
BLAKE2b-256 checksum How to use checksums |
746380ef4c14a8fefee2d36a7fa6e44dc2661ef6beaa86d44c755f1a1363d16e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / w3lib-1.15.0-py2.py3-none-any.whl
| Download URL | w3lib-1.15.0-py2.py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0dce15ef19b3328592c8b9fb97368780d570cf72d8c1a256ba03fa11424b0f7a
|
|
BLAKE2b-256 checksum How to use checksums |
17a207a072acadcdae313743417ef65f7ef1231ff2babe0527df7020b8577466
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |