.. _f-rssstream: module ``rss.rss_stream`` ========================= .. inheritance-diagram:: pyrsslocal.rss.rss_stream Short summary +++++++++++++ module ``pyrsslocal.rss.rss_stream`` Description of a RSS stream. :githublink:`%|py|5` Classes +++++++ +----------------------------------------------------------+--------------------------------------------------------------------+ | class | truncated documentation | +==========================================================+====================================================================+ | :class:`StreamRSS ` | Requires :epkg:`feedparser`. Description of an :epkg:`RSS` stream. | +----------------------------------------------------------+--------------------------------------------------------------------+ Properties ++++++++++ +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | property | truncated documentation | +===============================================================================+==========================================================================================+ | :meth:`asdict ` | Returns all members as a dictionary. | +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`asrow ` | Returns all the values as a row (following the schema given by :meth:`schema_database`). | +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`index ` | Defines the column to use as an index. | +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`schema_database ` | Returns all members names and types as a dictionary. | +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ | :meth:`stat_nb ` | Returns the statistics nb: ``self.stat.get("nb", 0)``. | +-------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+ Static Methods ++++++++++++++ +-------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | staticmethod | truncated documentation | +===================================================================================================================+================================================================================+ | :meth:`enumerate_post_from_rsslist ` | Enumerates all posts found in all rss_streams given as a list. | +-------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | :meth:`enumerate_stream_from_google_list ` | Retrieves the list of :epkg:`RSS` streams from a dump made with Google Reader. | +-------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | :meth:`fill_table ` | Fills a table of a database, if the table does not exists, it creates it. | +-------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------+ | :meth:`schema_database_read ` | Returns all members names and types as a dictionary. | +-------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------+ Methods +++++++ +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | method | truncated documentation | +=============================================================================+=====================================================================================+ | :py:meth:`__init__ ` | | +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :py:meth:`__lt__ ` | cmp operator | +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :py:meth:`__str__ ` | usual | +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`enumerate_post ` | Parses a :epkg:`RSS` stream. | +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :meth:`html ` | Displays the blogs in HTML format, the template contains two kinds of informations: | +-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyrsslocal.rss.rss_stream :members: :special-members: __init__ :show-inheritance: