.. _f-htmlscriptparser: module ``simple_server.html_script_parser`` =========================================== .. inheritance-diagram:: pyrsslocal.simple_server.html_script_parser Short summary +++++++++++++ module ``pyrsslocal.simple_server.html_script_parser`` This modules contains a class which implements a simple server. :githublink:`%|py|5` Classes +++++++ +------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +======================================================================================================+=========================================================================================================+ | :class:`HTMLScriptParser ` | Defines a :epkg:`HTML` parser. the purpose is to intercept section such as the following and to run it. | +------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ | :class:`HTMLScriptParserRemove ` | Defines a :epkg:`HTML` parser. the purpose is to remove the :epkg:`HTML` code and the header | +------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+ Methods +++++++ +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | method | truncated documentation | +==============================================================================================================+===================================================+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_data ` | Intercepts the data between two tags. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_data ` | Intercepts the data between two tags. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_endtag ` | Intercepts the end of a tag. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_endtag ` | Intercepts the end of a tag. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_starttag ` | Intercepts the beginning of a tag. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`handle_starttag ` | Intercepts the beginning of a tag. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`str_attr ` | Returns a string including the parameters values. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ | :meth:`str_attr ` | Returns a string including the parameters values. | +--------------------------------------------------------------------------------------------------------------+---------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyrsslocal.simple_server.html_script_parser :members: :special-members: __init__ :show-inheritance: