Module Expr Str ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Lambda arguments args NameParam NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr CompareIsNot NameLoad Str Return Call AttributeLoad NameLoad attr SubscriptLoad ListLoad SubscriptLoad NameLoad Index Num NameLoad NameLoad Slice NameLoad decorator_list decorator_list
N/A N/A 
flask_flatpages_knitr
~~~~~~~~~~~~~~~~~~~~~~

Flask-FlatPages-Knitr preprocesses a Flask FlatPage such that code chunks
are evaluated before the next step in the rendering process occurs.

:copyright: (c) 2014 Fabian Hirschmann <fabian@hirschmann.email>
:license: MIT, see LICENSE.txt for more details.

 __future__ print_function N/A pkg_resources os makedirs path inspect getargspec rpy2.robjects r N/A N/A N/A r library knitr N/A N/A N/A __version__ N/A N/A N/A pkg_resources require Flask-FlatPages-Knitr N/A 0 N/A N/A N/A N/A pkg_resources DistributionNotFound N/A N/A __version__ 0.0-dev FlatPagesKnitr N/A object N/A N/A 
    Class that, when applied to a :class:`flask.Flask` instance,
    will evaluate code chunks using knitr.
     __init__ N/A N/A self app renderer N/A None None N/A N/A 
        Initializes Flask-FlatPages-Knitr

        :param app: your application. Can be omitted if you call
                    :meth:`init_app` later.
        :type app: :class:`flask.Flask`
        :param renderer: function that continues rendering the page; if
                         omitted, `FLATPAGES_HTML_RENDERER` will be used.
        :param renderer: function
         N/A N/A self postrenderer renderer N/A app N/A N/A N/A N/A self init_app app N/A init_app N/A N/A self app N/A N/A N/A 
        Used to initialize an application. This is useful when passing
        an app later.

        :param app: your application
        :type app: :class:`flask.Flask`
         N/A N/A self app app N/A N/A N/A self postrenderer N/A N/A N/A self postrenderer N/A N/A N/A self app config N/A FLATPAGES_HTML_RENDERER N/A N/A N/A N/A self app config N/A FLATPAGES_HTML_RENDERER N/A N/A N/A t p m N/A N/A N/A self renderer t p m N/A renderer N/A N/A self text flatpages page N/A N/A N/A 
        Renders a flat page to HTML.

        :param text: the text of the flat page
        :type text: string
        :param flatpages: a list of flatpages
        :type flatpages: sequence
        :param page: a page instance
        :type page: :class:`flask_flatpages.Page`
         N/A figure_path N/A N/A path join N/A N/A self app static_folder knitr N/A page path N/A figure_url N/A N/A / join N/A N/A N/A self app static_url_path knitr N/A page path N/A N/A N/A N/A path exists figure_path N/A N/A N/A makedirs N/A N/A path join figure_path figure N/A N/A r N/A N/A opts_knit$set(base.dir='{0}') format figure_path N/A N/A r N/A N/A opts_knit$set(base.url='{0}/') format figure_url N/A out N/A N/A r knit text text N/A n_args N/A len N/A a N/A a N/A N/A getargspec N/A self postrenderer args N/A a self N/A N/A N/A self postrenderer N/A N/A N/A out N/A 0 flatpages page N/A n_args N/A N/A