skip to navigation
skip to content

Not Logged In

w3lib 1.11.0

Library of web-related functions


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


Python 2.7 or Python 3.3+


pip install w3lib




The w3lib library is licensed under the BSD license.

File Type Py Version Uploaded on Size
w3lib-1.11.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2015-01-13 14KB
w3lib-1.11.0.tar.gz (md5) Source 2015-01-13 11KB
  • Downloads (All Versions):
  • 1215 downloads in the last day
  • 10903 downloads in the last week
  • 36515 downloads in the last month