Module Expr Str ImportFrom alias Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A 
Network-related methods and classes.
 __future__ absolute_import N/A __docformat__ restructuredtext en N/A urlparse N/A shutil N/A tempfile N/A urllib2 N/A logging N/A os N/A __all__ N/A download N/A log N/A N/A logging getLogger grizzled.net download N/A N/A url directory bufsize N/A None 8192 N/A N/A 
    Download the specified URL to a directory. This module properly handles
    HTTP authentication for URLs like this one::

        https://user:password@localhost:8080/foo/bar/baz.tgz

    Note, however, that user/password authentication is only supported for
    "http" and "https" URLs.

    :Parameters:
        url : str
            the URL to download
        directory : str
            The directory to receive the downloaded file. If this parameter is
            omitted, ``download()`` will create a temporary directory to
            contain the file.
        bufsize : int
            buffer size to use when reading URL

    :rtype:  tuple
    :return: A (*download_directory*, *downloaded_file*) tuple
     N/A pieces N/A N/A urlparse urlparse url N/A path N/A pieces path N/A N/A directory N/A N/A directory N/A N/A tempfile mkdtemp prefix download N/A outputPath N/A N/A N/A os path join directory N/A N/A N/A os path basename path N/A N/A N/A N/A N/A pieces scheme startswith http N/A pieces username N/A N/A N/A user password N/A N/A pieces username N/A pieces password N/A netloc N/A pieces hostname N/A N/A pieces port N/A N/A N/A pieces hostname N/A :%d N/A pieces port N/A newPieces N/A N/A pieces scheme netloc N/A pieces path N/A pieces query N/A pieces params N/A pieces fragment N/A url N/A N/A urlparse urlunparse newPieces N/A N/A N/A log debug N/A Installing authorization handler for URL %s url N/A passwordMgr N/A N/A urllib2 HTTPPasswordMgrWithDefaultRealm N/A N/A N/A passwordMgr add_password realm None uri url user user passwd password N/A authHandler N/A N/A urllib2 HTTPBasicAuthHandler passwordMgr N/A opener N/A N/A urllib2 build_opener authHandler N/A N/A N/A opener open url N/A N/A N/A urllib2 install_opener opener N/A N/A N/A log debug N/A Downloading "%s" to "%s" N/A url outputPath N/A N/A N/A shutil copyfileobj N/A N/A urllib2 urlopen url N/A open outputPath wb bufsize N/A N/A outputPath directory N/A