1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-bleach
7 SDESC[py310]= Easy safelist-based HTML-sanitizing tool (3.10)
8 SDESC[v11]= Easy safelist-based HTML-sanitizing tool (3.11)
9 HOMEPAGE= https://github.com/mozilla/bleach
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/ac/e2/dfcab68c9b2e7800c8f06b85c76e5f978d05b195a958daa9b1dda54a1db6
14 DISTFILE[1]= bleach-6.0.0-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
26 DISTNAME= bleach-6.0.0.dist-info
32 [PY310].RUN_DEPENDS_ON= python-six:single:py310
33 python-webencodings:single:py310
34 [PY310].USES_ON= python:py310,wheel
36 [PY311].RUN_DEPENDS_ON= python-six:single:v11
37 python-webencodings:single:v11
38 [PY311].USES_ON= python:v11,wheel
41 ${SED} -i'' -e 's|/bin/bash|${PREFIX}/bin/bash|' \
42 ${STAGEDIR}${PYTHON_SITELIBDIR}/bleach/_vendor/vendor_install.sh
44 [FILE:2695:descriptions/desc.single]
49 Bleach is an allowed-list-based HTML sanitizing library that escapes or
51 markup and attributes.
53 Bleach can also linkify text safely, applying filters that Django's urlize
54 filter cannot, and optionally setting rel attributes, even on links already
57 Bleach is intended for sanitizing text from *untrusted* sources. If you
59 yourself jumping through hoops to allow your site administrators to do lots
61 things, you're probably outside the use cases. Either trust those users, or
64 Because it relies on html5lib_, Bleach is as good as modern browsers at
66 with weird, quirky HTML fragments. And *any* of Bleach's methods will fix
67 unbalanced or mis-nested tags.
69 The version on GitHub_ is the most up-to-date and contains the latest bug
70 fixes. You can find full documentation on `ReadTheDocs`_.
72 :Code: https://github.com/mozilla/bleach
73 :Documentation: https://bleach.readthedocs.io/
74 :Issue tracker: https://github.com/mozilla/bleach/issues
75 :License: Apache License v2; see LICENSE file
80 For regular bugs, please report them [in our issue tracker
83 If you believe that you've found a security vulnerability, please [file a
85 bug report in our bug tracker
87 or send an email to *security AT mozilla DOT org*.
89 For more information on security-related bug disclosure and the PGP key to
91 for sending encrypted mail or to verify responses received from that
93 please read our wiki page at
94 `<https://www.mozilla.org/en-US/security/#For_Developers>`_.
99 Bleach is a security-focused library.
101 We have a responsible security vulnerability reporting process. Please use
102 that if you're reporting a security issue.
104 Security issues are fixed in private. After we land such a fix, we'll do a
107 For every release, we mark security issues we've fixed in the CHANGES in
108 the **Security issues** section. We include any relevant CVE links.
113 Bleach is available on PyPI_, so you can install it with pip::
122 Before doing any upgrades, read through [Bleach Changes
124 incompatible changes, newer versions, etc.
126 Bleach follows `semver 2`_ versioning. Vendored libraries will not
127 be changed in patch releases.
132 The simplest way to use Bleach is:
134 .. code-block:: python
138 >>> bleach.clean('an <script>evil()</script> example')
139 u'an <script>evil()</script> example'
141 >>> bleach.linkify('an http://example.com url')
142 u'an http://example.com url'
148 33c16e3353dbd13028ab4799a0f89a83f113405c766e9c122df8a06f5b85b3f4 162493 bleach-6.0.0-py3-none-any.whl