Module Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ImportFrom alias Import alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Import alias identifier Import alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str
N/A N/A  IPython extension: Render templates from variables and paste to clipbard  IPython.core ipapi N/A ip N/A N/A ipapi get string Template N/A sys os IPython.external.Itpl itplns toclip_w32 N/A N/A s N/A N/A N/A  Places contents of s to clipboard
    
    Needs pyvin32 to work:
    http://sourceforge.net/projects/pywin32/
     N/A win32clipboard cl N/A win32con N/A N/A N/A cl OpenClipboard N/A N/A N/A cl EmptyClipboard N/A N/A N/A cl SetClipboardText N/A N/A s replace N/A N/A N/A cl CloseClipboard N/A N/A N/A N/A win32clipboard N/A toclip toclip_w32 N/A N/A N/A ImportError N/A toclip N/A N/A s N/A N/A N/A N/A render N/A N/A tmpl N/A N/A N/A  Render a template (Itpl format) from ipython variables

    Example:
    
    $ import ipy_render
    $ my_name = 'Bob'  # %store this for convenience
    $ t_submission_form = "Submission report, author: $my_name"  # %store also
    $ render t_submission_form
    
    => returns "Submission report, author: Bob" and copies to clipboard on win32

    # if template exist as a file, read it. Note: ;f hei vaan => f("hei vaan")
    $ ;render c:/templates/greeting.txt  
    
    Template examples (Ka-Ping Yee's Itpl library):
    
    Here is a $string.
    Here is a $module.member.
    Here is an $object.member.
    Here is a $functioncall(with, arguments).
    Here is an ${arbitrary + expression}.
    Here is an $array[3] member.
    Here is a $dictionary['member'].
     N/A N/A N/A N/A os path isfile tmpl N/A N/A tmpl N/A N/A N/A open tmpl read N/A res N/A itplns tmpl N/A ip user_ns N/A N/A toclip res N/A res N/A N/A N/A N/A ip push render