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 2.7 or Python 3.3+
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-1.11.0.tar.gz
(12.1 kB
view details)
Built Distribution
File details
Details for the file w3lib-1.11.0.tar.gz
.
File metadata
- Download URL: w3lib-1.11.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
826f6184232c385b7c8038ef7ae5506f1cb3f8fa470ac12ce0fb6fb0a592fb92
|
|
MD5 |
0ecadf121a90f1ac182b739a7d028ae2
|
|
BLAKE2b-256 |
381f3bcd2549e7e8cf26c2574474a8ffc03f91d13a9f9d3fff86e8a47e23e7c7
|
File details
Details for the file w3lib-1.11.0-py2.py3-none-any.whl
.
File metadata
- Download URL: w3lib-1.11.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d06df19d0a7dfd06fb8d4b7c58e3f3bdc1862a2c92e145bbb7d5526008a54f8a
|
|
MD5 |
e286c4a808d72b7e0def8d27f625ca11
|
|
BLAKE2b-256 |
36e18717334035de69a638b42cbec59736adda4da1cdc67aec6a09075f9c0800
|