Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python310-w3lib | Distribution: openSUSE Tumbleweed |
Version: 2.1.2 | Vendor: openSUSE |
Release: 1.5 | Build date: Fri Jan 12 09:28:28 2024 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 102080 | Source RPM: python-w3lib-2.1.2-1.5.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/scrapy/w3lib | |
Summary: 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 * encoding mulitpart/form-data * convert raw HTTP headers to dicts and vice-versa * construct HTTP auth header * converting HTML pages to unicode * RFC-compliant url joining * sanitize urls (like browsers do) * extract arguments from urls
BSD-3-Clause
* Fri Jan 12 2024 Dirk Müller <dmueller@suse.com> - update to 2.1.2: * Fix test failures on Python 3.11.4+ (#212, #213). * Fix an incorrect type hint (#211). * Add project URLs to setup.py (#215). * Dropped Python 3.6 support, and made Python 3.11 support official. * :func:`~w3lib.url.safe_url_string` now generates safer URLs. * :func:`~w3lib.url.canonicalize_url` now strips spaces from the input URL, to be more in line with the `URL living standard`_. * :func:`~w3lib.html.get_base_url` now ignores HTML comments. * Fixed :func:`~w3lib.url.safe_url_string` re-encoding percent signs on the URL username and password even when they were being used as part of an escape sequence. (#187, #196) * Fixed :func:`~w3lib.http.basic_auth_header` using the wrong flavor of base64 encoding, which could prevent authentication in rare cases. * Python 2 is no longer supported; * The ``w3lib.form`` module is removed. * The ``w3lib.html.remove_entities`` function is removed. * The ``w3lib.url.urljoin_rfc`` function is removed. * The following functions are deprecated, and will be removed in future releases * Type annotations are added (#172, #184). * Added support for Python 3.9 and 3.10 (#168, #176). * Fixed :func:`w3lib.html.get_meta_refresh` for ``<meta>`` tags where ``http-equiv`` is written after ``content`` (#179). * Fixed :func:`w3lib.url.safe_url_string` for IDNA domains with ports (#174). * :func:`w3lib.url.url_query_cleaner` no longer adds an unneeded ``#`` when ``keep_fragments=True`` is passed, and the URL doesn't have a fragment * Removed a workaround for an ancient pathname2url bug (#142) * CI is migrated to GitHub Actions (#166, #177); other CI improvements * The code is formatted using black (#173). - drop 166-add-xfail-test_add_or_replace_parameter_fail.patch, python-w3lib-no-six.patch: upstream * Fri Oct 14 2022 pgajdos@suse.com - do not require six - added patches https://github.com/scrapy/w3lib/commit/c16d7bac3af3148b7018c67ef7922a5da6b3e640 + python-w3lib-no-six.patch * Fri Mar 19 2021 Matej Cepl <mcepl@suse.com> - Add 166-add-xfail-test_add_or_replace_parameter_fail.patch, which makes tests working with CVE-2021-23336 (bsc#1181270). * Wed Jul 22 2020 Marketa Calabkova <mcalabkova@suse.com> - update to 1.22.0 * Python 3.4 is no longer supported (issue #156) * :func:`w3lib.url.safe_url_string` now supports an optional ``quote_path`` parameter to disable the percent-encoding of the URL path * more small fixes and improvements * Thu Aug 29 2019 Marketa Calabkova <mcalabkova@suse.com> - update to 1.21.0 * Add the "encoding" and "path_encoding" parameters to w3lib.url.safe_download_url (issue #118) * w3lib.url.safe_url_string now also removes tabs and new lines (issue #133) * w3lib.html.remove_comments now also removes truncated comments (issue #129) * w3lib.html.remove_tags_with_content no longer removes tags which start with the same text as one of the specified tags (issue #114) * Fri Mar 29 2019 pgajdos@suse.com - version update to 1.20.0 * Fix url_query_cleaner to do not append "?" to urls without a query string (issue #109) * Add support for Python 3.7 and drop Python 3.3 (issue #113) * Add `w3lib.url.add_or_replace_parameters` helper (issue #117) * Documentation fixes (issue #115) * Tue Dec 04 2018 Matej Cepl <mcepl@suse.com> - Remove superfluous devel dependency for noarch package * Fri Nov 16 2018 Todd R <toddrme2178@gmail.com> - Update to version 1.19.0 * Add a workaround for CPython segfault (https://bugs.python.org/issue32583) which affect w3lib.encoding functions. This is technically **backwards incompatible** because it changes the way non-decodable bytes are replaced (in some cases instead of two ``\ufffd`` chars you can get one). As a side effect, the fix speeds up decoding in Python 3.4+. * Add 'encoding' parameter for w3lib.http.basic_auth_header. * Fix pypy testing setup, add pypy3 to CI. * Thu Dec 21 2017 mpluskal@suse.com - Update to version 1.18.0: * No upstream changelog available - Convert to singlespec * Thu Jun 02 2016 jacobwinski@gmail.com - Update to 1.14.2 (2016-04-11) * fix function import for (deprecated) ``urljoin_rfc`` (issue #51) * only expose wanted functions from ``w3lib.url``, via ``__all__`` (see issue #54, https://github.com/scrapy/scrapy/issues/1917) - Update to 1.14.1 (2016-04-07) * For bytes URLs, when supplied encoding (or default UTF8) is wrong, ``safe_url_string`` falls back to percent-encoding offending bytes. - Update to 1.14.0 (2016-04-06) * proper handling of non-ASCII characters in Python2 and Python3 * support IDNs * new `path_encoding` to override default UTF-8 when serializing non-ASCII characters before percent-encoding * html_body_declared_encoding also detects encoding when not sole attribute in ``<meta>``. * Package is now properly marked as ``zip_safe``. - Update to 1.13.0 (2015-11-05) * remove_tags removes uppercase tags as well; * ignore meta-redirects inside script or noscript tags by default, but add an option to not ignore them; * replace_entities now handles entities without trailing semicolon; * fixed uncaught UnicodeDecodeError when decoding entities. - Update to 1.12.0 (2015-06-29) * meta_refresh regex now handles leading newlines and whitespaces in the url; * include tests folder in source distribution. - Update to 1.11.0 (2015-01-13) * url_query_cleaner now supports str or list parameters; * add support for resolving base URLs in <base> tags with attributes before href. - Update spec file to reflect new upstream package requirements.
/usr/lib/python3.10/site-packages/w3lib /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info/PKG-INFO /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info/SOURCES.txt /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info/dependency_links.txt /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info/not-zip-safe /usr/lib/python3.10/site-packages/w3lib-2.1.2-py3.10.egg-info/top_level.txt /usr/lib/python3.10/site-packages/w3lib/__init__.py /usr/lib/python3.10/site-packages/w3lib/__pycache__ /usr/lib/python3.10/site-packages/w3lib/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_infra.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_infra.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_types.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_types.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_url.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/_url.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/encoding.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/encoding.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/html.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/html.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/http.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/http.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/url.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/url.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/util.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/w3lib/__pycache__/util.cpython-310.pyc /usr/lib/python3.10/site-packages/w3lib/_infra.py /usr/lib/python3.10/site-packages/w3lib/_types.py /usr/lib/python3.10/site-packages/w3lib/_url.py /usr/lib/python3.10/site-packages/w3lib/encoding.py /usr/lib/python3.10/site-packages/w3lib/html.py /usr/lib/python3.10/site-packages/w3lib/http.py /usr/lib/python3.10/site-packages/w3lib/py.typed /usr/lib/python3.10/site-packages/w3lib/url.py /usr/lib/python3.10/site-packages/w3lib/util.py /usr/share/doc/packages/python310-w3lib /usr/share/doc/packages/python310-w3lib/README.rst /usr/share/licenses/python310-w3lib /usr/share/licenses/python310-w3lib/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed May 1 23:23:10 2024