Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str If BoolOpAnd CompareIn Str NameLoad BoolOpOr BoolOpAnd CompareIn Str NameLoad CompareLt Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str CompareNotIn Str NameLoad body Return Call AttributeLoad NameLoad attr Str Num orelse If CompareIn Str NameLoad body Return Call AttributeLoad NameLoad attr Str Num orelse Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareNotEq NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse TryFinally body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Print BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr TupleLoad Str Str body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad
N/A N/A 
Based on "python-archive" -- http://pypi.python.org/pypi/python-archive/

Copyright (c) 2010 Gary Wilson Jr. <gary.wilson@gmail.com> and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 N/A os N/A shutil N/A tarfile N/A zipfile django.utils six ArchiveException N/A Exception N/A N/A 
    Base exception class for all archive errors.
     N/A UnrecognizedArchiveFormat N/A ArchiveException N/A N/A 
    Error raised when passed file is not a recognized archive format.
     N/A extract N/A N/A path to_path N/A N/A N/A 
    Unpack the tar or zip file at the specified path to the directory
    specified by to_path.
     N/A N/A Archive path archive N/A N/A N/A N/A archive extract to_path N/A Archive N/A object N/A N/A 
    The external API class that encapsulates an archive implementation.
     __init__ N/A N/A self file N/A N/A N/A N/A self _archive N/A N/A N/A self _archive_cls file file N/A _archive_cls N/A N/A file N/A N/A N/A cls None N/A N/A isinstance file N/A six string_types N/A N/A filename file N/A N/A N/A N/A filename N/A file name N/A N/A N/A AttributeError N/A N/A N/A UnrecognizedArchiveFormat File object not a recognized archive format. N/A N/A base tail_ext N/A N/A N/A os path splitext N/A N/A filename lower N/A cls N/A N/A extension_map get tail_ext N/A N/A cls N/A N/A N/A base ext N/A N/A N/A os path splitext base N/A cls N/A N/A extension_map get ext N/A N/A cls N/A N/A N/A UnrecognizedArchiveFormat N/A Path not a recognized archive format: %s filename N/A cls N/A staticmethod __enter__ N/A N/A self N/A N/A N/A self N/A __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A N/A N/A self close N/A extract N/A N/A self to_path N/A N/A N/A N/A N/A N/A self _archive extract to_path N/A list N/A N/A self N/A N/A N/A N/A N/A N/A self _archive list N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self _archive close N/A N/A BaseArchive N/A object N/A N/A 
    Base Archive class.  Implementations should inherit this class.
     split_leading_dir N/A N/A self path N/A N/A N/A path N/A str path N/A path N/A N/A N/A N/A path lstrip / lstrip \ N/A N/A N/A / path N/A N/A N/A \ path N/A N/A N/A path find / N/A N/A path find \ N/A \ path N/A N/A N/A N/A path split / 1 N/A N/A N/A \ path N/A N/A N/A N/A path split \ 1 N/A N/A N/A path N/A has_leading_dir N/A N/A self paths N/A N/A N/A 
        Returns true if all the paths have the same leading path name
        (i.e., everything is in one subdirectory in an archive)
         N/A common_prefix None N/A path paths N/A N/A N/A prefix rest N/A N/A self split_leading_dir path N/A N/A prefix N/A N/A False N/A N/A N/A common_prefix None N/A N/A common_prefix prefix N/A N/A N/A prefix common_prefix N/A N/A False N/A True N/A extract N/A N/A self N/A N/A N/A NotImplementedError N/A list N/A N/A self N/A N/A N/A NotImplementedError N/A N/A TarArchive N/A BaseArchive N/A __init__ N/A N/A self file N/A N/A N/A N/A self _archive N/A N/A tarfile open file N/A list N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _archive list args kwargs N/A extract N/A N/A self to_path N/A N/A N/A members N/A member N/A member N/A N/A N/A self _archive getmembers N/A N/A member name pax_global_header N/A leading N/A N/A self has_leading_dir members N/A member members N/A N/A name N/A member name N/A leading N/A N/A name N/A N/A N/A self split_leading_dir name N/A 1 N/A filename N/A N/A N/A os path join to_path name N/A N/A N/A member isdir N/A N/A N/A filename N/A N/A N/A N/A os path exists filename N/A N/A N/A N/A os makedirs filename N/A N/A N/A N/A N/A N/A extracted N/A N/A N/A self _archive extractfile member N/A N/A N/A N/A KeyError AttributeError N/A exc N/A N/A N/A In the tar file %s the member %s is invalid: %s N/A name N/A member name exc N/A N/A dirname N/A N/A N/A os path dirname filename N/A N/A dirname N/A N/A N/A N/A os path exists dirname N/A N/A N/A N/A os makedirs dirname N/A N/A open filename wb outfile N/A N/A N/A N/A shutil copyfileobj extracted outfile N/A N/A extracted N/A N/A N/A N/A extracted close N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self _archive close N/A N/A ZipArchive N/A BaseArchive N/A __init__ N/A N/A self file N/A N/A N/A N/A self _archive N/A N/A zipfile ZipFile file N/A list N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _archive printdir args kwargs N/A extract N/A N/A self to_path N/A N/A N/A namelist N/A N/A N/A self _archive namelist N/A leading N/A N/A self has_leading_dir namelist N/A name namelist N/A N/A data N/A N/A N/A self _archive read name N/A leading N/A N/A name N/A N/A N/A self split_leading_dir name N/A 1 N/A filename N/A N/A N/A os path join to_path name N/A dirname N/A N/A N/A os path dirname filename N/A N/A dirname N/A N/A N/A N/A os path exists dirname N/A N/A N/A N/A os makedirs dirname N/A N/A N/A filename endswith N/A / \ N/A N/A N/A N/A N/A N/A os path exists filename N/A N/A N/A N/A os makedirs filename N/A N/A N/A open filename wb outfile N/A N/A N/A N/A outfile write data N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self _archive close N/A N/A N/A extension_map N/A .tar .tar.bz2 .tar.gz .tgz .tz2 .zip TarArchive TarArchive TarArchive TarArchive TarArchive ZipArchive