Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-w3lib
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-w3lib  ]

套件: python3-w3lib (1.21.0-1)

Collection of web-related functions (Python 3)

Python module with simple, reusable functions to work with URLs, HTML, forms, and HTTP, that aren’t found in the Python standard library.

This module is used to, for example:

 - remove comments, or tags from HTML snippets
 - extract base url from HTML snippets
 - translate entities on HTML strings
 - encoding mulitpart/form-data
 - convert raw HTTP headers to dicts and vice-versa
 - construct HTTP auth header
 - RFC-compliant url joining
 - sanitize urls (like browsers do)
 - extract arguments from urls

The code of w3lib was originally part of the Scrapy framework but was later stripped out of Scrapy, with the aim of make it more reusable and to provide a useful library of web functions without depending on Scrapy.

This is the Python 3 version of the package.

其他與 python3-w3lib 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-six (>= 1.6.1)
    Python 2 and 3 compatibility library (Python 3 interface)

下載 python3-w3lib

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 19.1 kB76 kB [文件列表]