Module Expr Str ImportFrom alias alias alias ImportFrom alias Import alias ImportFrom alias Import alias Import alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias alias Import alias identifier ImportFrom alias identifier alias identifier alias ImportFrom alias identifier alias identifier TryExcept body Import alias FunctionDef arguments args defaults body Pass decorator_list handlers ExceptHandler type NameLoad body FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str TryExcept body Import alias FunctionDef arguments args defaults body Pass decorator_list handlers ExceptHandler type NameLoad body FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Global identifier Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Str orelse Assign NameStore Str FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list If Call NameLoad NameLoad AttributeLoad NameLoad attr body With Call NameLoad NameLoad NameLoad NameStore body Expr Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr orelse Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad kwarg body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Return Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad keyword NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list If Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body With Call NameLoad NameLoad Str NameStore body Return Call NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad finalbody If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Raise Call NameLoad Str decorator_list Assign NameStore Dict Num Call NameLoad Str Call NameLoad Str Num Call NameLoad Str Call NameLoad Str Num Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Return Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad BinOpAdd Call NameLoad NameLoad BinOpMult Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Num Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Num Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Return Call NameLoad Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Num If NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body If CompareEq NameLoad Str body Expr Call NameLoad Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call NameLoad Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad Str TryExcept body Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad Call NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Return Dict Str Str Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Str NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Return Dict Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Return Dict Str Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Return Dict Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListComp Dict Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Dict Str Str Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Dict Str Str orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Dict Str Str Str Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Dict Str Str Str Call NameLoad Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Call NameLoad Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Call NameLoad Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Dict Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return Dict Str Str Str Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Dict Str Str Str Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Dict Str Str Str Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Return NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Str Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call AttributeLoad SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Return NameLoad orelse If CompareEq NameLoad Str body Assign NameStore AttributeLoad SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str attr Return Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr attr NameLoad Return NameLoad orelse If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Str Return Call NameLoad keyword NameLoad keyword Call NameLoad NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str decorator_list Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr orelse If CompareEq NameLoad Str body Return Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str attr SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body If CompareEq Call AttributeLoad NameLoad attr Str Str body Return Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str TryExcept body Return Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler body Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Return Call NameLoad BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Str orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Str NameLoad Num Num body Expr Str Return Call AttributeLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str Str NameLoad Num NameLoad body Expr Str Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Str NameLoad Num Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad NameLoad NameLoad Str Str Num NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryFinally body If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Yield NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Msgpack serializer support for reading and writing pandas data structures
to disk

portions of msgpack_numpy package, by Lev Givon were incorporated
into this module (and tests_packers.py)

License
=======

Copyright (c) 2013, Lev Givon.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
  copyright notice, this list of conditions and the following
  disclaimer in the documentation and/or other materials provided
  with the distribution.
* Neither the name of Lev Givon nor the names of any
  contributors may be used to endorse or promote products derived
  from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 datetime datetime date timedelta dateutil.parser parse N/A os textwrap dedent N/A warnings N/A numpy np pandas compat pandas.compat u u_safe pandas Timestamp Period Series DataFrame Index MultiIndex Float64Index Int64Index Panel RangeIndex PeriodIndex DatetimeIndex NaT Categorical pandas.tslib NaTType pandas.sparse.api SparseSeries SparseDataFrame SparsePanel pandas.sparse.array BlockIndex IntIndex pandas.core.generic NDFrame pandas.core.common PerformanceWarning is_categorical_dtype is_object_dtype needs_i8_conversion pandas_dtype pandas.io.common get_filepath_or_buffer pandas.core.internals BlockManager make_block N/A pandas.core.internals internals pandas.msgpack Unpacker _Unpacker Packer _Packer ExtType pandas.util._move BadMove _BadMove move_into_mutable_buffer _move_into_mutable_buffer N/A N/A N/A zlib _check_zlib N/A N/A N/A N/A N/A N/A N/A N/A N/A ImportError N/A _check_zlib N/A N/A N/A N/A N/A N/A ImportError zlib is not installed N/A N/A N/A _check_zlib __doc__ N/A dedent     Check if zlib is installed.

    Raises
    ------
    ImportError
        Raised when zlib is not installed.
     N/A N/A N/A blosc _check_blosc N/A N/A N/A N/A N/A N/A N/A N/A N/A ImportError N/A _check_blosc N/A N/A N/A N/A N/A N/A ImportError blosc is not installed N/A N/A N/A _check_blosc __doc__ N/A dedent     Check if blosc is installed.

    Raises
    ------
    ImportError
        Raised when blosc is not installed.
     N/A compressor None to_msgpack N/A N/A path_or_buf N/A args kwargs N/A N/A 
    msgpack (serialize) object to input file path

    THIS IS AN EXPERIMENTAL LIBRARY and the storage format
    may not be stable until a future release.

    Parameters
    ----------
    path_or_buf : string File path, buffer-like, or None
                  if None, return generated string
    args : an object or objects to serialize
    encoding: encoding for unicode objects
    append : boolean whether to append to an existing msgpack
             (default is False)
    compress : type of compressor (zlib or blosc), default to None (no
               compression)
     N/A compressor N/A compressor N/A N/A kwargs pop compress None N/A compressor N/A N/A compressor N/A u compressor N/A append N/A N/A kwargs pop append None N/A append N/A N/A mode a+b N/A N/A mode wb writer N/A N/A fh N/A N/A N/A a args N/A N/A N/A N/A fh write N/A pack a kwargs N/A N/A N/A isinstance path_or_buf N/A compat string_types N/A N/A N/A open path_or_buf mode fh N/A N/A N/A writer fh N/A N/A N/A path_or_buf None N/A N/A buf N/A N/A compat BytesIO N/A N/A writer buf N/A N/A N/A buf getvalue N/A N/A N/A writer path_or_buf N/A read_msgpack N/A N/A path_or_buf encoding iterator N/A utf-8 False kwargs N/A N/A 
    Load msgpack pandas object from the specified
    file path

    THIS IS AN EXPERIMENTAL LIBRARY and the storage format
    may not be stable until a future release.

    Parameters
    ----------
    path_or_buf : string File path, BytesIO like or string
    encoding: Encoding for decoding msgpack str type
    iterator : boolean, if True, return an iterator to the unpacker
               (default is False)

    Returns
    -------
    obj : type of object stored in file

     N/A N/A path_or_buf _ _ N/A get_filepath_or_buffer path_or_buf N/A iterator N/A N/A N/A Iterator path_or_buf read N/A N/A fh N/A N/A N/A l N/A list N/A unpack fh encoding encoding kwargs N/A N/A N/A len l 1 N/A N/A N/A l N/A 0 N/A l N/A N/A N/A isinstance path_or_buf N/A compat string_types N/A N/A N/A N/A exists N/A N/A N/A os path exists path_or_buf N/A N/A N/A N/A TypeError ValueError N/A N/A exists False N/A exists N/A N/A N/A open path_or_buf rb fh N/A N/A N/A read fh N/A N/A isinstance path_or_buf N/A compat binary_type N/A N/A fh None N/A N/A N/A fh N/A N/A compat BytesIO path_or_buf N/A N/A read fh N/A N/A N/A fh None N/A N/A N/A N/A fh close N/A N/A N/A hasattr path_or_buf read N/A N/A compat callable N/A path_or_buf read N/A N/A N/A read path_or_buf N/A N/A ValueError path_or_buf needs to be a string file path or file-like N/A N/A dtype_dict N/A 21 N/A u datetime64[ns] N/A u datetime64[us] 22 N/A u timedelta64[ns] N/A u timedelta64[us] 7 category N/A N/A np dtype M8[ns] N/A N/A np dtype M8[ns] N/A N/A np dtype M8[us] N/A N/A np dtype m8[ns] N/A N/A np dtype m8[ns] N/A N/A np dtype m8[us] N/A N/A np dtype int64 category dtype_for N/A N/A t N/A N/A N/A  return my dtype mapping, whether number or name  N/A N/A t dtype_dict N/A N/A N/A dtype_dict N/A t N/A N/A N/A N/A np typeDict get t t N/A N/A c2f_dict N/A complex complex128 complex64 N/A np float64 N/A np float64 N/A np float32 N/A N/A hasattr np float128 N/A N/A N/A c2f_dict N/A complex256 N/A np float128 c2f N/A N/A r i ctype_name N/A N/A N/A 
    Convert strings to complex number instance with specified numpy type.
     N/A ftype N/A c2f_dict N/A ctype_name N/A N/A N/A N/A np typeDict N/A ctype_name N/A N/A ftype r N/A 1j N/A ftype i N/A convert N/A N/A values N/A N/A N/A  convert the numpy values to a list  N/A dtype N/A values dtype N/A N/A is_categorical_dtype values N/A N/A values N/A N/A N/A is_object_dtype dtype N/A N/A N/A N/A N/A N/A values ravel tolist N/A N/A needs_i8_conversion dtype N/A N/A values N/A N/A values view i8 N/A v N/A N/A values ravel N/A N/A compressor zlib N/A N/A N/A _check_zlib N/A N/A dtype N/A np object_ N/A N/A N/A N/A v tolist N/A v N/A N/A v tostring N/A N/A ExtType 0 N/A N/A zlib compress v N/A N/A N/A compressor blosc N/A N/A N/A _check_blosc N/A N/A dtype N/A np object_ N/A N/A N/A N/A v tolist N/A v N/A N/A v tostring N/A N/A ExtType 0 N/A N/A blosc compress v typesize N/A dtype itemsize N/A N/A ExtType 0 N/A N/A v tostring N/A unconvert N/A N/A values dtype compress N/A None N/A N/A as_is_ext N/A N/A isinstance values ExtType N/A N/A values code 0 N/A as_is_ext N/A N/A values N/A values data N/A N/A is_categorical_dtype dtype N/A N/A values N/A N/A N/A is_object_dtype dtype N/A N/A N/A N/A np array values dtype object N/A dtype N/A N/A pandas_dtype dtype base N/A N/A as_is_ext N/A N/A values N/A N/A values encode latin1 N/A compress N/A N/A N/A compress zlib N/A N/A N/A _check_zlib N/A decompress N/A zlib decompress N/A N/A N/A compress blosc N/A N/A N/A _check_blosc N/A decompress N/A blosc decompress N/A N/A N/A ValueError compress must be one of 'zlib' or 'blosc' N/A N/A N/A N/A N/A np frombuffer N/A _move_into_mutable_buffer N/A decompress values dtype dtype N/A N/A N/A _BadMove N/A e N/A N/A values N/A N/A e args N/A 0 N/A N/A N/A len values 1 N/A N/A N/A N/A warnings warn copying data after decompressing; this may mean that decompress is caching its result PerformanceWarning N/A N/A N/A np fromstring values dtype dtype N/A encode N/A N/A obj N/A N/A N/A 
    Data encoder
     N/A tobj N/A type obj N/A N/A isinstance obj Index N/A N/A N/A isinstance obj RangeIndex N/A N/A N/A typ klass name start stop step range_index N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A getattr obj _start None N/A getattr obj _stop None N/A getattr obj _step None N/A N/A N/A isinstance obj PeriodIndex N/A N/A N/A typ klass name freq dtype data compress period_index N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A u_safe N/A getattr obj freqstr None N/A u N/A N/A obj dtype name N/A convert N/A obj asi8 compressor N/A N/A N/A isinstance obj DatetimeIndex N/A N/A tz N/A getattr obj tz None N/A N/A tz None N/A N/A tz N/A u N/A tz zone N/A obj N/A N/A obj tz_convert UTC N/A N/A typ klass name dtype data freq tz compress datetime_index N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A u N/A N/A obj dtype name N/A convert N/A obj asi8 N/A u_safe N/A getattr obj freqstr None tz compressor N/A N/A N/A isinstance obj MultiIndex N/A N/A N/A typ klass names dtype data compress multi_index N/A u N/A N/A obj __class__ __name__ N/A getattr obj names None N/A u N/A N/A obj dtype name N/A convert N/A obj values compressor N/A N/A N/A typ klass name dtype data compress index N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A u N/A N/A obj dtype name N/A convert N/A obj values compressor N/A N/A N/A isinstance obj Categorical N/A N/A N/A typ klass name codes categories ordered compress category N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A obj codes N/A obj categories N/A obj ordered compressor N/A N/A N/A isinstance obj Series N/A N/A N/A isinstance obj SparseSeries N/A N/A N/A NotImplementedError msgpack sparse series is not implemented N/A N/A N/A typ klass name index dtype data compress series N/A u N/A N/A obj __class__ __name__ N/A getattr obj name None N/A obj index N/A u N/A N/A obj dtype name N/A convert N/A obj values compressor N/A N/A N/A issubclass tobj NDFrame N/A N/A N/A isinstance obj SparseDataFrame N/A N/A N/A NotImplementedError msgpack sparse frame is not implemented N/A N/A N/A isinstance obj SparsePanel N/A N/A N/A NotImplementedError msgpack sparse frame is not implemented N/A N/A data N/A obj _data N/A N/A N/A N/A data is_consolidated N/A N/A data N/A N/A data consolidate N/A N/A typ klass axes blocks block_manager N/A u N/A N/A obj __class__ __name__ N/A data axes N/A N/A locs values shape dtype klass compress N/A N/A b mgr_locs as_array N/A convert N/A b values N/A N/A b values shape N/A u N/A N/A b dtype name N/A u N/A N/A b __class__ __name__ compressor N/A b N/A data blocks N/A N/A N/A isinstance obj N/A datetime date N/A np datetime64 timedelta N/A np timedelta64 NaTType N/A N/A N/A isinstance obj Timestamp N/A N/A tz N/A obj tzinfo N/A N/A tz None N/A N/A tz N/A u N/A tz zone N/A offset N/A obj offset N/A N/A offset None N/A N/A offset N/A u N/A offset freqstr N/A N/A typ value offset tz timestamp N/A obj value offset tz N/A N/A isinstance obj NaTType N/A N/A N/A typ nat N/A N/A N/A isinstance obj N/A np timedelta64 N/A N/A N/A typ data timedelta64 N/A N/A obj view i8 N/A N/A N/A isinstance obj timedelta N/A N/A N/A typ data timedelta N/A N/A obj days N/A obj seconds N/A obj microseconds N/A N/A N/A isinstance obj N/A np datetime64 N/A N/A N/A typ data datetime64 N/A u N/A str obj N/A N/A N/A isinstance obj datetime N/A N/A N/A typ data datetime N/A u N/A N/A obj isoformat N/A N/A N/A isinstance obj date N/A N/A N/A typ data date N/A u N/A N/A obj isoformat N/A N/A Exception N/A cannot encode this datetimelike object: %s obj N/A N/A N/A isinstance obj Period N/A N/A N/A typ ordinal freq period N/A obj ordinal N/A u N/A obj freq N/A N/A N/A isinstance obj BlockIndex N/A N/A N/A typ klass blocs blengths length block_index N/A u N/A N/A obj __class__ __name__ N/A obj blocs N/A obj blengths N/A obj length N/A N/A N/A isinstance obj IntIndex N/A N/A N/A typ klass indices length int_index N/A u N/A N/A obj __class__ __name__ N/A obj indices N/A obj length N/A N/A N/A isinstance obj N/A np ndarray N/A N/A N/A typ shape ndim dtype data compress ndarray N/A obj shape N/A obj ndim N/A u N/A N/A obj dtype name N/A convert obj compressor N/A N/A N/A isinstance obj N/A np number N/A N/A N/A N/A np iscomplexobj obj N/A N/A N/A typ sub_typ dtype real imag np_scalar np_complex N/A u N/A N/A obj dtype name N/A u N/A N/A N/A obj real __repr__ N/A u N/A N/A N/A obj imag __repr__ N/A N/A N/A typ dtype data np_scalar N/A u N/A N/A obj dtype name N/A u N/A N/A obj __repr__ N/A N/A N/A isinstance obj complex N/A N/A N/A typ real imag np_complex N/A u N/A N/A N/A obj real __repr__ N/A u N/A N/A N/A obj imag __repr__ N/A obj N/A decode N/A N/A obj N/A N/A N/A 
    Decoder for deserializing numpy data types.
     N/A typ N/A N/A obj get typ N/A N/A typ None N/A N/A obj N/A N/A N/A typ timestamp N/A N/A N/A Timestamp N/A obj N/A value tz N/A obj N/A tz offset N/A obj N/A offset N/A N/A N/A typ nat N/A N/A NaT N/A N/A N/A typ period N/A N/A N/A Period ordinal N/A obj N/A ordinal freq N/A obj N/A freq N/A N/A N/A typ index N/A N/A dtype N/A dtype_for N/A obj N/A dtype N/A data N/A unconvert N/A obj N/A data dtype N/A N/A obj get compress N/A N/A N/A N/A globals N/A N/A obj N/A klass data dtype dtype name N/A obj N/A name N/A N/A N/A typ range_index N/A N/A N/A N/A N/A globals N/A N/A obj N/A klass N/A obj N/A start N/A obj N/A stop N/A obj N/A step name N/A obj N/A name N/A N/A N/A typ multi_index N/A N/A dtype N/A dtype_for N/A obj N/A dtype N/A data N/A unconvert N/A obj N/A data dtype N/A N/A obj get compress N/A data N/A N/A tuple x N/A x data N/A N/A N/A N/A N/A globals N/A N/A obj N/A klass from_tuples data names N/A obj N/A names N/A N/A N/A typ period_index N/A N/A data N/A unconvert N/A obj N/A data N/A np int64 N/A N/A obj get compress N/A d N/A dict name N/A obj N/A name freq N/A obj N/A freq N/A N/A N/A N/A globals N/A N/A obj N/A klass data d N/A N/A N/A typ datetime_index N/A N/A data N/A unconvert N/A obj N/A data N/A np int64 N/A N/A obj get compress N/A d N/A dict name N/A obj N/A name freq N/A obj N/A freq verify_integrity False N/A result N/A N/A N/A globals N/A N/A obj N/A klass data d N/A tz N/A obj N/A tz N/A N/A tz None N/A N/A result N/A N/A N/A N/A result tz_localize UTC tz_convert tz N/A result N/A N/A N/A typ category N/A N/A from_codes N/A N/A N/A globals N/A N/A obj N/A klass from_codes N/A N/A from_codes codes N/A obj N/A codes categories N/A obj N/A categories ordered N/A obj N/A ordered name N/A obj N/A name N/A N/A N/A typ series N/A N/A dtype N/A dtype_for N/A obj N/A dtype N/A pd_dtype N/A pandas_dtype dtype N/A np_dtype N/A N/A pandas_dtype dtype base N/A index N/A obj N/A index N/A result N/A N/A N/A globals N/A N/A obj N/A klass N/A unconvert N/A obj N/A data dtype N/A obj N/A compress index index dtype np_dtype name N/A obj N/A name N/A tz N/A getattr pd_dtype tz None N/A tz N/A N/A result N/A N/A N/A N/A N/A N/A result dt tz_localize UTC dt tz_convert tz N/A result N/A N/A N/A typ block_manager N/A N/A axes N/A obj N/A axes create_block N/A N/A b N/A N/A N/A values N/A N/A N/A unconvert N/A b N/A values N/A dtype_for N/A b N/A dtype N/A b N/A compress reshape N/A b N/A shape N/A N/A locs b N/A N/A placement N/A b N/A locs N/A N/A placement N/A N/A N/A axes N/A 0 get_indexer N/A b N/A items N/A N/A make_block values values klass N/A getattr internals N/A b N/A klass placement placement dtype N/A b N/A dtype N/A N/A blocks N/A N/A create_block b N/A b N/A obj N/A blocks N/A N/A N/A N/A globals N/A N/A obj N/A klass N/A BlockManager blocks axes N/A N/A N/A typ datetime N/A N/A N/A parse N/A obj N/A data N/A N/A N/A typ datetime64 N/A N/A N/A N/A np datetime64 N/A parse N/A obj N/A data N/A N/A N/A typ date N/A N/A N/A N/A N/A parse N/A obj N/A data date N/A N/A N/A typ timedelta N/A N/A N/A timedelta N/A obj N/A data N/A N/A N/A typ timedelta64 N/A N/A N/A N/A np timedelta64 N/A int N/A obj N/A data N/A N/A N/A typ block_index N/A N/A N/A N/A N/A globals N/A N/A obj N/A klass N/A obj N/A length N/A obj N/A blocs N/A obj N/A blengths N/A N/A N/A typ int_index N/A N/A N/A N/A N/A globals N/A N/A obj N/A klass N/A obj N/A length N/A obj N/A indices N/A N/A N/A typ ndarray N/A N/A N/A N/A N/A unconvert N/A obj N/A data N/A N/A np typeDict N/A N/A obj N/A dtype N/A N/A obj get compress reshape N/A obj N/A shape N/A N/A N/A typ np_scalar N/A N/A N/A N/A N/A obj get sub_typ np_complex N/A N/A N/A c2f N/A obj N/A real N/A obj N/A imag N/A obj N/A dtype N/A N/A dtype N/A dtype_for N/A obj N/A dtype N/A N/A N/A N/A dtype N/A obj N/A data N/A N/A N/A N/A N/A N/A dtype type N/A obj N/A data N/A N/A N/A typ np_complex N/A N/A N/A complex N/A N/A N/A N/A obj N/A real + N/A obj N/A imag j N/A N/A N/A isinstance obj N/A dict list set N/A N/A obj N/A N/A obj N/A pack N/A N/A o default encoding unicode_errors use_single_float autoreset use_bin_type N/A encode utf-8 strict False 1 1 N/A N/A 
    Pack an object and return the packed bytes.
     N/A N/A N/A N/A Packer default default encoding encoding unicode_errors unicode_errors use_single_float use_single_float autoreset autoreset use_bin_type use_bin_type pack o N/A unpack N/A N/A packed object_hook list_hook use_list encoding unicode_errors object_pairs_hook max_buffer_size ext_hook N/A decode None False utf-8 strict None 0 ExtType N/A N/A 
    Unpack a packed object, return an iterator
    Note: packed lists will be returned as tuples
     N/A N/A Unpacker packed object_hook object_hook list_hook list_hook use_list use_list encoding encoding unicode_errors unicode_errors object_pairs_hook object_pairs_hook max_buffer_size max_buffer_size ext_hook ext_hook N/A Packer N/A _Packer N/A __init__ N/A N/A self default encoding unicode_errors use_single_float autoreset use_bin_type N/A encode utf-8 strict False 1 1 N/A N/A N/A N/A N/A super Packer self __init__ default default encoding encoding unicode_errors unicode_errors use_single_float use_single_float autoreset autoreset use_bin_type use_bin_type N/A N/A Unpacker N/A _Unpacker N/A __init__ N/A N/A self file_like read_size use_list object_hook object_pairs_hook list_hook encoding unicode_errors max_buffer_size ext_hook N/A None 0 False decode None None utf-8 strict 0 ExtType N/A N/A N/A N/A N/A super Unpacker self __init__ file_like file_like read_size read_size use_list use_list object_hook object_hook object_pairs_hook object_pairs_hook list_hook list_hook encoding encoding unicode_errors unicode_errors max_buffer_size max_buffer_size ext_hook ext_hook N/A N/A Iterator N/A object N/A N/A  manage the unpacking iteration,
        close the file on completion  __init__ N/A N/A self path N/A kwargs N/A N/A N/A self path path N/A N/A self kwargs kwargs N/A __iter__ N/A N/A self N/A N/A N/A needs_closing True N/A N/A N/A N/A isinstance N/A self path N/A compat string_types N/A N/A N/A N/A path_exists N/A N/A N/A os path exists N/A self path N/A N/A N/A TypeError N/A N/A path_exists False N/A path_exists N/A N/A fh N/A open N/A self path rb N/A N/A fh N/A N/A compat BytesIO N/A self path N/A N/A N/A N/A hasattr N/A self path read N/A N/A fh N/A N/A compat BytesIO N/A self path N/A N/A needs_closing False N/A fh N/A self path N/A unpacker N/A unpack fh N/A o unpacker N/A N/A N/A o N/A N/A needs_closing N/A N/A N/A N/A fh close N/A N/A