module documentation

Undocumented

Class AttributeValueWithCharsetSubstitution A stand-in object for a character encoding specified in HTML.
Class CData A CDATA block.
Class CharsetMetaAttributeValue A generic stand-in for the value of a meta tag's 'charset' attribute.
Class Comment An HTML or XML comment.
Class ContentMetaAttributeValue A generic stand-in for the value of a meta tag's 'content' attribute.
Class Declaration An XML declaration.
Class Doctype A document type declaration.
Class NamespacedAttribute A namespaced string (e.g. 'xml:lang') that remembers the namespace ('xml') and the name ('lang') that were used to create it.
Class NavigableString A Python Unicode string that is part of a parse tree.
Class PageElement Contains the navigational information for some part of the page: that is, its current location in the parse tree.
Class PreformattedString A NavigableString not subject to the normal formatting rules.
Class ProcessingInstruction A SGML processing instruction.
Class ResultSet A ResultSet is just a list that keeps track of the SoupStrainer that created it.
Class RubyParenthesisString A NavigableString representing the contents of the <rp> HTML element.
Class RubyTextString A NavigableString representing the contents of the <rt> HTML element.
Class Script A NavigableString representing an executable script (probably Javascript).
Class SoupStrainer Encapsulates a number of ways of matching a markup element (tag or string).
Class Stylesheet A NavigableString representing an stylesheet (probably CSS).
Class Tag Represents an HTML or XML tag that is part of a parse tree, along with its attributes and contents.
Class TemplateString A NavigableString representing a string found inside an HTML template embedded in a larger document.
Class XMLProcessingInstruction An XML processing instruction.
Constant DEFAULT_OUTPUT_ENCODING Undocumented
Constant PYTHON_SPECIFIC_ENCODINGS Undocumented
Variable __license__ Undocumented
Variable nonwhitespace_re Undocumented
Variable whitespace_re Undocumented
Function _alias Alias one attribute name to another for backward compatibility
DEFAULT_OUTPUT_ENCODING: str = (source)

Undocumented

Value
'utf-8'
PYTHON_SPECIFIC_ENCODINGS = (source)

Undocumented

Value
set(['idna',
     'mbcs',
     'oem',
     'palmos',
     'punycode',
     'raw_unicode_escape',
     'undefined',
...
__license__: str = (source)

Undocumented

nonwhitespace_re = (source)

Undocumented

whitespace_re = (source)

Undocumented

def _alias(attr): (source)

Alias one attribute name to another for backward compatibility