Library of web-related functions
Project Links
Meta
Author: Scrapy project
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
License
- OSI Approved :: BSD License
Operating System
- OS Independent
Programming Language
- Python
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
Topic
- Internet :: WWW/HTTP
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.9+
Install
pip install w3lib
Documentation
License
The w3lib library is licensed under the BSD license.
Jan 27, 2025
2.3.1
Jan 27, 2025
2.3.0
Jun 12, 2024
2.2.1
Jun 05, 2024
2.2.0
Aug 03, 2023
2.1.2
Dec 09, 2022
2.1.1
Nov 28, 2022
2.1.0
Aug 11, 2022
2.0.1
Aug 11, 2022
2.0.0
May 13, 2020
1.22.0
Aug 09, 2019
1.21.0
Jan 11, 2019
1.20.0
Jan 25, 2018
1.19.0
Aug 03, 2017
1.18.0
Feb 08, 2017
1.17.0
Nov 10, 2016
1.16.0
Jul 29, 2016
1.15.0
Jul 14, 2016
1.14.3
Apr 11, 2016
1.14.2
Apr 07, 2016
1.14.1
Apr 06, 2016
1.14.0
Nov 05, 2015
1.13.0
Jul 29, 2015
1.12.0
Jan 13, 2015
1.11.0
Aug 20, 2014
1.10.0
Aug 16, 2014
1.9.0
Aug 14, 2014
1.8.1
Jul 31, 2014
1.8.0
Jul 25, 2014
1.7.1
Jul 25, 2014
1.7.0
Jun 02, 2014
1.6
Nov 09, 2013
1.5
Nov 09, 2013
1.4
Jun 04, 2013
1.3
May 15, 2012
1.2
Apr 18, 2012
1.1
Apr 17, 2011
1.0
Wheel compatibility matrix
Files in release
No dependencies