Module Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias FunctionDef arguments args defaults vararg body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Str ListLoad BoolOpOr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str ListLoad For NameStore NameLoad body If UnaryOpNot CompareIn Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareIn AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad Str body Return NameLoad If CompareIn NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str NameLoad Assign NameStore NameLoad If CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Return Dict Str Str NameLoad AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call NameLoad BinOpSub Call NameLoad NameLoad Call NameLoad ListLoad Str Str If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad BoolOpOr NameLoad Call NameLoad orelse Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Return Dict Str Str NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Dict Str Str NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot CompareIn Str NameLoad CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Str If UnaryOpNot CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict Str Str Call NameLoad NameLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Str If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad BinOpAdd BinOpAdd Str NameLoad Str orelse If Call NameLoad NameLoad Str body Assign NameStore ListLoad BinOpAdd BinOpAdd Str NameLoad Str orelse Assign NameStore Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Return Dict Str Str NameLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore ListLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Return NameLoad orelse If UnaryOpNot NameLoad body Return Str orelse If Call NameLoad NameLoad Str body Assign NameStore NameLoad orelse If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list Call NameLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Dict NameLoad Str Str BoolOpOr NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict NameLoad Str BoolOpOr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Dict NameLoad Str BoolOpOr NameLoad Call NameLoad NameLoad Assign NameStore TupleLoad Str NameLoad NameLoad Return Dict Str Str NameLoad NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore BinOpDiv NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call NameLoad BinOpDiv BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str decorator_list
N/A N/A os N/A json N/A mimeparse N/A inspect jinja2 Template DebugUndefined Environment PackageLoader FileSystemLoader jinja2.exceptions TemplateNotFound giotto get_config giotto.exceptions NoViewMethod giotto.utils Mock htmlize htmlize_list pre_process_json super_accept_to_mimetype jsonify giotto.control GiottoControl Redirection renders N/A N/A N/A mimetypes N/A decorator N/A N/A func N/A N/A N/A N/A func mimetypes N/A N/A mimetype mimetypes N/A N/A N/A N/A N/A func mimetypes append mimetype N/A func N/A N/A decorator N/A GiottoView N/A object N/A N/A 
    Base class for all Giotto view objects. All Giotto Views must at least descend
    from this class, as ths class contains piping that the controller calls.
     __init__ N/A N/A self persist N/A None kwargs N/A N/A N/A self persist persist N/A N/A self render_map N/A N/A N/A self reject_map N/A N/A class_defined_renderers N/A x N/A x N/A dir self N/A N/A N/A x startswith __ N/A N/A N/A self _register_renderers class_defined_renderers N/A N/A format function N/A N/A kwargs items N/A N/A mime N/A super_accept_to_mimetype format N/A N/A setattr function mimetypes N/A N/A mime format N/A N/A setattr self format function N/A N/A N/A self _register_renderers N/A N/A kwargs keys N/A _register_renderers N/A N/A self attrs N/A N/A N/A 
        Go through the passed in list of attributes and register those renderers
        in the render map.
         N/A method attrs N/A N/A func N/A getattr self method N/A mimetypes N/A getattr func mimetypes N/A N/A mimetype mimetypes N/A N/A N/A N/A / mimetype N/A N/A N/A N/A self reject_map N/A mimetype func N/A N/A mimetype N/A self render_map N/A N/A N/A N/A self render_map N/A mimetype func N/A N/A base_classes N/A N/A N/A N/A self __class__ mro N/A 1 N/A from_baseclass N/A any N/A x N/A x base_classes N/A N/A func __name__ N/A dir x N/A N/A from_baseclass N/A N/A N/A N/A self render_map N/A mimetype func N/A can_render N/A N/A self partial_mimetype N/A N/A N/A 
        Given a partial mimetype (such as 'json' or 'html'), return if the 
        view can render that type.
         N/A mime N/A N/A N/A self render_map keys N/A N/A N/A mime */* N/A N/A True N/A N/A partial_mimetype mime N/A N/A True N/A False N/A render N/A N/A self result mimetype errors N/A None N/A N/A 
        Render a model result into `mimetype` format.
         N/A available_mimetypes N/A x N/A x N/A N/A N/A self render_map keys N/A / x N/A render_func None N/A N/A / mimetype N/A N/A render_func N/A N/A N/A self reject_map get mimetype None N/A N/A render_func N/A N/A N/A NoViewMethod N/A Unknown Superformat: %s mimetype N/A N/A N/A render_func available_mimetypes N/A N/A target_mimetype N/A N/A mimeparse best_match available_mimetypes mimetype N/A render_func N/A N/A N/A self render_map get target_mimetype None N/A N/A render_func N/A N/A N/A NoViewMethod N/A %s not supported for this program mimetype N/A principle_mimetype N/A N/A render_func mimetypes N/A 0 N/A N/A GiottoControl N/A N/A N/A render_func __class__ mro N/A N/A N/A body persist render_func N/A render_func persist N/A N/A callable N/A self persist N/A N/A persist N/A N/A self persist result N/A N/A persist N/A self persist N/A arg_names N/A N/A N/A inspect getargspec render_func args N/A num_args N/A len N/A N/A set arg_names N/A set N/A self cls N/A N/A num_args 2 N/A N/A data N/A render_func result N/A errors N/A Mock N/A N/A data N/A render_func result N/A N/A GiottoControl N/A N/A N/A data __class__ mro N/A N/A N/A body persist data persist N/A N/A N/A hasattr data items N/A N/A data N/A body mimetype data principle_mimetype N/A N/A N/A N/A N/A mimetype data N/A target_mimetype */* N/A N/A N/A data N/A mimetype N/A N/A N/A mimetype data N/A N/A N/A data N/A mimetype target_mimetype N/A N/A data N/A persist persist N/A data N/A N/A BasicView N/A GiottoView N/A N/A 
    Basic viewer that contains generic functionality for showing any data.
     generic_json N/A N/A self result errors N/A N/A N/A N/A body mimetype N/A jsonify result application/json N/A N/A renders application/json generic_html N/A N/A self result errors N/A N/A N/A 
        Try to display any object in sensible HTML.
         N/A h1 N/A htmlize N/A type result N/A out N/A N/A result N/A pre_process_json result N/A N/A N/A hasattr result items N/A N/A header <tr><th>Value</th></tr> N/A N/A N/A type result list N/A N/A result N/A htmlize_list result N/A N/A result N/A htmlize result N/A out N/A N/A N/A <tr><td> result </td></tr> N/A N/A N/A hasattr result lower N/A N/A out N/A N/A N/A <tr><td> result </td></tr> N/A N/A header <tr><th>Key</th><th>Value</th></tr> N/A N/A key value N/A N/A result items N/A N/A v N/A htmlize value N/A row N/A N/A <tr><td>{0}</td><td>{1}</td></tr> format key v N/A N/A N/A out append row N/A env N/A Environment loader N/A PackageLoader giotto N/A template N/A N/A env get_template generic.html N/A rendered N/A N/A template render N/A header table_header table_body h1 header out N/A N/A body mimetype rendered text/html N/A N/A renders text/html generic_text N/A N/A self result errors N/A N/A N/A out N/A N/A kv_iterate None N/A single_iterate N/A N/A N/A hasattr result items N/A N/A kv_iterate N/A N/A result items N/A N/A N/A hasattr result lower N/A N/A result N/A N/A N/A result N/A N/A N/A N/A N/A hasattr result append N/A N/A single_iterate result N/A N/A N/A hasattr result todict N/A N/A kv_iterate N/A N/A N/A N/A result todict items N/A N/A kv_iterate N/A N/A N/A result __dict__ items N/A kv_iterate N/A N/A N/A key value kv_iterate N/A N/A row N/A N/A {0} - {1} format key value N/A N/A N/A out append row N/A N/A value single_iterate N/A N/A N/A N/A out append N/A N/A self generic_text value None N/A N/A N/A join out N/A N/A renders text/plain text/x-cmd text/x-irc N/A get_jinja_template N/A N/A template_name N/A N/A N/A ppx N/A get_config project_path N/A env N/A Environment loader N/A FileSystemLoader N/A N/A N/A os path join ppx views N/A N/A N/A env get_template template_name N/A jinja_template N/A N/A template_name name mimetype N/A data text/html N/A N/A 
    Meta-renderer for rendering jinja templates
     jinja_renderer N/A N/A result errors N/A N/A N/A template N/A get_jinja_template template_name N/A context N/A name errors enumerate N/A result N/A Mock errors enumerate N/A rendered N/A N/A template render context N/A N/A body mimetype rendered mimetype N/A N/A jinja_renderer N/A partial_jinja_template N/A N/A template_name name mimetype N/A data text/html N/A N/A 
    Partial render of jinja templates. This is useful if you want to re-render
    the template in the output middleware phase.
    These templates are rendered in a way that all undefined variables will be 
    kept in the emplate intact.
     partial_jinja_renderer N/A N/A result errors N/A N/A N/A template N/A get_jinja_template template_name N/A old N/A N/A template environment undefined N/A N/A N/A template environment undefined DebugUndefined N/A context N/A name errors N/A result N/A Mock errors N/A rendered N/A N/A template render context N/A N/A N/A template environment undefined old N/A N/A body mimetype rendered mimetype N/A N/A partial_jinja_renderer N/A lazy_jinja_template N/A N/A template_name name mimetype N/A data text/html N/A N/A 
    Jinja template renderer that does not render the template at all.
    Instead of returns the context and template object blended together.
    Make sure to add ``giotto.middleware.RenderLazytemplate`` to the output
    middleware stread of any program that uses this renderer.
     lazy_jinja_renderer N/A N/A result errors N/A N/A N/A template N/A get_jinja_template template_name N/A context N/A name errors N/A result N/A Mock errors N/A data N/A jinja2 template context N/A N/A body mimetype data mimetype N/A N/A lazy_jinja_renderer N/A ImageViewer N/A GiottoView N/A N/A 
    For viewing images. The 'result' must be a file object that contains image
    data (doesn't matter the format).
     plaintext N/A N/A self result N/A N/A N/A 
        Converts the image object into an ascii representation. Code taken from
        http://a-eter.blogspot.com/2010/04/image-to-ascii-art-in-python.html
         PIL Image N/A ascii_chars N/A # A @ % S + < * : , . image_to_ascii N/A N/A image N/A N/A N/A image_as_ascii N/A N/A all_pixels N/A list N/A N/A image getdata N/A pixel_value all_pixels N/A N/A index N/A pixel_value 25 N/A N/A N/A image_as_ascii append N/A ascii_chars N/A index N/A image_as_ascii N/A N/A img N/A N/A Image open result N/A N/A width heigth N/A img size N/A new_width 80 N/A new_heigth N/A int N/A N/A heigth new_width width N/A new_image N/A N/A img resize N/A new_width new_heigth N/A new_image N/A N/A new_image convert L N/A img_as_ascii N/A image_to_ascii new_image N/A img_as_ascii N/A N/A join N/A ch N/A ch img_as_ascii N/A out N/A N/A c N/A range 0 N/A len img_as_ascii new_width N/A N/A N/A N/A out append N/A img_as_ascii N/A c N/A c new_width N/A N/A N/A join out N/A N/A renders text/plain image N/A N/A self result N/A N/A N/A result N/A image_jpeg N/A N/A self result N/A N/A N/A N/A N/A self image result N/A text_cmd N/A N/A self result N/A N/A N/A N/A N/A result read N/A text_html N/A N/A self result N/A N/A N/A <!DOCTYPE html>
        <html>
            <body>
                <img src="/multiply?x=4&y=7">
            </body>
        </html> N/A N/A URLFollower N/A BasicView N/A N/A 
    For visualizing programs that return a url
     text_html N/A N/A self data N/A N/A N/A N/A Redirection data N/A N/A renders text/html cmd N/A N/A self data N/A N/A N/A N/A N/A ForceJSONView N/A GiottoView N/A N/A 
    All objects going through this View will be displayed as JSON no matter what.
     renderer N/A N/A self data errors N/A N/A N/A N/A jsonify data N/A N/A renders */* N/A ForceTextView N/A GiottoView N/A renderer N/A N/A self data errors N/A N/A N/A N/A N/A self generic_text data N/A N/A renders */* N/A