Module Expr Str Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad NameLoad NameLoad Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore Dict Num Num Num Num Str Str Str Str Assign NameStore Dict Num Num Str Str Assign NameStore Num Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad Str body Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Raise Call NameLoad Str orelse Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Slice Num ListLoad Str body Raise Call NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad orelse If CompareIn NameLoad ListLoad Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Str body Return If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Return If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore ListLoad While CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore NameLoad If CompareEq NameLoad Str body If CompareIs NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpAnd CompareNotEq NameLoad Str CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Return If CompareEq Call AttributeLoad NameLoad attr Str body Assign SubscriptStore Call AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Num orelse Assign NameStore SubscriptLoad NameLoad Slice Num Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice BinOpMult Num Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num Index Num Num Assign NameStore BinOpPow Num NameLoad Assign NameStore Num AugAssignAdd NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd BinOpLShift NameLoad Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num AugAssignAdd NameStore Num Return TupleLoad BinOpSub NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareEq NameLoad Num body Pass orelse Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore Dict For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpPow Num NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad AugAssignMult NameStore Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad Str AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpRShift Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num Assign NameStore BinOpBitAnd Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num TryExcept body Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Dict Assign NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore Call NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Str body TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad Index Num handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad AugAssignAdd NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Raise NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If CompareIsNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIsNot Call NameLoad AttributeLoad NameLoad attr NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body If BoolOpAnd NameLoad Call NameLoad NameLoad Str NameLoad body Return AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareNotIn Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword BinOpAdd NameLoad BinOpMult NameLoad Num If NameLoad body Return Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If UnaryOpNot NameLoad body Return CompareEq NameLoad NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Continue TryExcept body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareIs AttributeLoad NameLoad attr NameLoad body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareIn Str AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareNotEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str Num body Raise Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareIn Str AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Raise Call NameLoad Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq Call AttributeLoad NameLoad attr Str Str body If Call AttributeLoad NameLoad attr Str body If CompareGt Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Num body Raise Call NameLoad Str NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareNotEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str Num body Raise Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareIn Str AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIn Str AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str Return BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMult NameLoad BinOpAdd NameLoad Num Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad orelse If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareIs NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad orelse Raise Call NameLoad Str NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list
N/A N/A Plist module.

Utility classes to handle Apple .plist files, which are either
  XML docs per
  DTD http://www.apple.com/DTDs/PropertyList-1.0.dtd
OR
  Binary structure per:
  http://www.opensource.apple.com/source/CF/CF-476.10/CFBinaryPList.c
  http://www.opensource.apple.com/source/CF/CF-550/ForFoundationOnly.h
 N/A base64 N/A datetime N/A struct N/A xml.parsers.expat N/A xml.sax.saxutils N/A PLIST_HEAD <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
 N/A PLIST_FOOT 
</plist>
 N/A PLIST_DATE_FORMAT %Y-%m-%dT%H:%M:%SZ N/A APPLE_PLIST_ELEMENTS N/A plist array dict key string integer date false true data real None None None None None None None None None None None N/A INDENT_CHAR N/A PLIST_CONTENT_TYPES N/A list dict N/A type None Error N/A Exception N/A N/A Base Exception. N/A PlistError N/A Error N/A N/A Plist error. N/A PlistNotParsedError N/A Error N/A N/A A plist has not been successfully parsed; called method is unavailable. N/A PlistAlreadyParsedError N/A Error N/A N/A A plist has already been parsed from a XML or binary source. N/A MalformedPlistError N/A PlistError N/A N/A Malformed Plist, like XML that is not well-formed. N/A InvalidPlistError N/A PlistError N/A N/A Invalid Plist, like an XML document that is not valid. N/A BinaryPlistError N/A PlistError N/A N/A Base error specific to binary plist format. N/A BinaryPlistHeaderError N/A BinaryPlistError N/A N/A The binary header is invalid/malformed/magic is unknown. N/A BinaryPlistVersionError N/A BinaryPlistError N/A N/A The binary plist version is unsupported. N/A UTC N/A N/A datetime tzinfo N/A N/A UTC timezone. utcoffset N/A N/A self unused_dt N/A N/A N/A N/A N/A datetime timedelta 0 N/A tzname N/A N/A self unused_dt N/A N/A N/A UTC N/A dst N/A N/A self unused_dt N/A N/A N/A N/A N/A datetime timedelta 0 N/A N/A AppleUid N/A int N/A N/A Apple UID value, which is an int. N/A AppleData N/A str N/A N/A Apple data value, which is a str. N/A ApplePlist N/A object N/A N/A Class to read Apple plists and produce a dict.

  To use:
    p = ApplePlist(plist_xml_string)
    p.Parse()
    dictionary = p.Plist()
   N/A _VALIDATE_BASIC_CONFIG N/A N/A INT_SIZE_FORMAT N/A 1 2 4 8 B H I Q N/A FLOAT_SIZE_FORMAT N/A 4 8 f d N/A COUNT_INT_FOLLOWS 15 N/A BPLIST_MAGIC bplist N/A BPLIST_VERSIONS N/A 00 N/A EPOCH N/A N/A datetime datetime 2001 1 1 0 0 0 0 N/A UTC __init__ N/A N/A self plist N/A None N/A N/A Initialize the class.

    Args:
      plist: str, optionally supply the Plist on init
     N/A N/A self _validation_hooks N/A N/A N/A N/A self Reset N/A N/A plist None N/A N/A N/A N/A self LoadPlist plist N/A copy N/A N/A self N/A N/A N/A Return a new instance of this plist with the same values. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A new_plist N/A N/A self __class__ N/A N/A new_plist _validation_hooks N/A self _validation_hooks N/A N/A new_plist _plist N/A N/A N/A self _plist copy N/A N/A new_plist _plist_xml N/A self _plist_xml N/A N/A new_plist _plist_xml_encoding N/A self _plist_xml_encoding N/A N/A new_plist _plist_bin N/A self _plist_bin N/A N/A new_plist _plist_version N/A self _plist_version N/A N/A new_plist _changed N/A self _changed N/A new_plist N/A LoadPlist N/A N/A self plist N/A N/A N/A Load a plist in binary or XML format.

    Args:
      plist: str, XML or binary plist
     N/A N/A N/A N/A N/A self _BinLoadHeader plist N/A N/A N/A self _LoadBinary plist N/A N/A N/A BinaryPlistHeaderError N/A N/A N/A N/A self _LoadDocument plist N/A N/A BinaryPlistVersionError N/A N/A N/A N/A self _LoadBinary plist N/A _LoadDocument N/A N/A self plist_xml N/A N/A N/A Load but not parse an Apple plist XML document.

    Args:
      plist_xml: str, plist XML
     N/A N/A N/A self Reset N/A N/A self _plist_xml plist_xml N/A N/A self _plist_bin None N/A _LoadBinary N/A N/A self plist_bin N/A N/A N/A Load but not parse an Apple binary plist.

    Args:
      plist_bin: str, plist binary
     N/A N/A N/A self Reset N/A N/A self _plist_bin plist_bin N/A N/A self _plist_xml None N/A Reset N/A N/A self N/A N/A N/A Reset all internal properties to empty. N/A N/A self _changed False N/A N/A self _plist_bin None N/A N/A self _plist_xml None N/A N/A self _plist_xml_encoding None N/A N/A hasattr self _plist N/A N/A N/A self _plist N/A N/A self _plist_version None N/A N/A self _current_mode N/A N/A N/A self _current_value N/A N/A N/A self _current_key N/A N/A N/A self __bin N/A N/A N/A self _type_lookup N/A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 N/A self _BinLoadSimple N/A self _BinLoadInt N/A self _BinLoadFloat N/A self _BinLoadDate N/A self _BinLoadData N/A self _BinLoadAsciiStr N/A self _BinLoadUnicode N/A self _BinLoadUnused N/A self _BinLoadUid N/A self _BinLoadUnused N/A self _BinLoadArray N/A self _BinLoadUnused N/A self _BinLoadSet N/A self _BinLoadDict N/A self _BinLoadUnused N/A self _BinLoadUnused N/A _NewMode N/A N/A self mode N/A N/A N/A Push a new mode onto the mode stack, making it current.

    Args:
      mode: str, a mode while scanning the xml, like 'dict', 'data'
     N/A N/A N/A N/A self _current_mode append mode N/A _CurrentMode N/A N/A self N/A N/A N/A Return the current mode. N/A N/A N/A self _current_mode N/A -1 N/A _ParentMode N/A N/A self N/A N/A N/A Return the parent mode. N/A N/A N/A self _current_mode N/A -2 N/A _ReleaseMode N/A N/A self N/A N/A N/A Release the current mode. N/A N/A N/A N/A self _current_mode pop -1 N/A _NewValue N/A N/A self value N/A N/A N/A Push a new value onto the data stack, making it current.

    Args:
      value: any str/int/dict/list
     N/A N/A N/A N/A self _current_value append value N/A _CurrentValue N/A N/A self N/A N/A N/A Return the current value. N/A N/A N/A self _current_value N/A -1 N/A _ReleaseValue N/A N/A self N/A N/A N/A Release the current value. N/A N/A N/A N/A self _current_value pop -1 N/A _NewKey N/A N/A self key N/A N/A N/A Push a new key onto the key stack, making it current.

    Args:
      key: str, like 'display_name'
     N/A N/A N/A N/A self _current_key append key N/A _CurrentKey N/A N/A self N/A N/A N/A Return the current key.

    Returns:
      str, like 'display_name'
     N/A N/A N/A N/A N/A self _current_key N/A -1 N/A N/A N/A IndexError N/A N/A N/A N/A N/A self _current_mode N/A -1 dict N/A N/A N/A MalformedPlistError Missing key element before value element N/A N/A N/A _ReleaseKey N/A N/A self N/A N/A N/A Release the current key. N/A N/A N/A N/A self _current_key pop -1 N/A _GetParser N/A N/A self encoding N/A None N/A N/A Return an expat Parser instance.

    Args:
      encoding: str, optional, like 'utf-8'
    Returns:
      xml.parsers.expat.XMLParser instance
     N/A parser N/A N/A N/A N/A xml parsers expat ParserCreate encoding N/A N/A parser StartElementHandler N/A self _StartElementHandler N/A N/A parser EndElementHandler N/A self _EndElementHandler N/A N/A parser XmlDeclHandler N/A self _XmlDeclHandler N/A N/A parser CharacterDataHandler N/A self _CharacterDataHandler N/A parser N/A _ParseDate N/A N/A self date_str N/A N/A N/A Parse a date string.

    Args:
      date_str: str, in format PLIST_DATE_FORMAT
    Returns:
      datetime with no timezone object, in UTC time
     N/A dt N/A N/A N/A datetime datetime strptime date_str PLIST_DATE_FORMAT N/A dt N/A _ParseData N/A N/A self data_str N/A N/A N/A Parse a data string.

    Args:
      data_str: str, in base64 format
    Returns:
      str, decoded
     N/A N/A N/A base64 b64decode data_str N/A _XmlDeclHandler N/A N/A self unused_version encoding unused_standalone N/A N/A N/A Handle the XML declaration header.

    Args:
      unused_version: str, version of XML
      encoding: str, encoding format e.g. 'utf-8'
      unused_standalone: int in [-1, 0, 1], per pyexpat docs
     N/A N/A self _plist_xml_encoding encoding N/A _StartElementHandler N/A N/A self name attributes N/A N/A N/A Handle the start of a XML element.

    Args:
      name: str, like "dict"
      attributes: dict, like {'version': '1.0'}, may be empty
    Raises:
      NotImplementedError: if the element name is not recognized
      MalformedPlistError: XML error
     N/A N/A name APPLE_PLIST_ELEMENTS N/A N/A N/A MalformedPlistError N/A Element %s name N/A N/A name plist N/A N/A N/A N/A self _NewMode plist N/A N/A version attributes N/A N/A N/A self _plist_version N/A attributes N/A version N/A N/A N/A N/A N/A self _current_mode N/A 1 N/A plist N/A N/A N/A MalformedPlistError N/A N/A name key N/A N/A N/A N/A self _NewMode name N/A N/A N/A name dict N/A N/A N/A N/A self _NewMode name N/A N/A N/A self _NewValue N/A N/A N/A N/A name array N/A N/A N/A N/A self _NewMode name N/A N/A N/A self _NewValue N/A N/A N/A N/A name N/A string integer date data real N/A N/A N/A N/A self _NewMode name N/A N/A N/A name N/A true false N/A N/A N/A N/A self _NewMode name N/A N/A N/A self _NewMode value N/A N/A N/A self _NewValue N/A name true N/A N/A N/A NotImplementedError N/A XML element %s name N/A _CharacterDataHandler N/A N/A self value N/A N/A N/A Handle CDATA.

    Args:
      value: str
     N/A N/A N/A N/A self _CurrentMode N/A dict array N/A N/A N/A N/A value N/A value N/A N/A N/A N/A N/A N/A self _CurrentMode key N/A N/A N/A N/A self _NewValue value N/A N/A N/A self _NewMode value N/A N/A N/A N/A N/A self _CurrentMode N/A string mvalue N/A N/A N/A N/A self _NewValue value N/A N/A N/A self _NewMode mvalue N/A N/A N/A N/A N/A self _CurrentMode integer N/A N/A N/A N/A self _NewValue N/A int value N/A N/A N/A self _NewMode value N/A N/A N/A N/A N/A self _CurrentMode date N/A N/A N/A N/A self _NewValue N/A N/A self _ParseDate value N/A N/A N/A self _NewMode value N/A N/A N/A N/A N/A self _CurrentMode data N/A N/A N/A N/A self _NewValue value N/A N/A N/A self _NewMode mvalue N/A N/A N/A N/A N/A self _CurrentMode real N/A N/A N/A N/A self _NewValue N/A float value N/A N/A N/A self _NewMode value N/A _EndElementHandler N/A N/A self name N/A N/A N/A End of an element has occured.

    Args:
      name: str, name of the element, like "dict"
     N/A N/A name plist N/A N/A N/A self _current_value N/A N/A N/A self _plist N/A N/A self _CurrentValue N/A N/A N/A self _ReleaseValue N/A N/A N/A self _plist None N/A N/A N/A N/A N/A self _CurrentMode value N/A N/A N/A N/A self _ReleaseMode N/A value N/A N/A self _CurrentValue N/A N/A N/A self _ReleaseValue N/A N/A N/A N/A N/A self _CurrentMode mvalue N/A N/A value N/A N/A N/A N/A N/A self _CurrentMode mvalue N/A N/A N/A N/A self _ReleaseMode N/A N/A N/A value insert 0 N/A N/A self _CurrentValue N/A N/A N/A self _ReleaseValue N/A value N/A N/A join value N/A N/A N/A N/A self _CurrentMode data N/A N/A value N/A N/A self _ParseData value N/A N/A N/A name N/A array dict N/A N/A value N/A N/A self _CurrentValue N/A N/A N/A self _ReleaseValue N/A N/A N/A name string N/A N/A value N/A N/A value None N/A N/A name key N/A N/A N/A value None N/A N/A value N/A N/A N/A self _NewKey value N/A release_key N/A N/A name key N/A N/A N/A self _ParentMode dict N/A N/A N/A self _ReleaseMode N/A N/A N/A N/A self _CurrentMode plist N/A N/A N/A N/A self _NewValue value N/A N/A N/A self _NewMode value N/A N/A N/A N/A N/A self _CurrentMode dict N/A N/A N/A N/A N/A self _CurrentValue N/A N/A N/A self _CurrentKey value N/A N/A N/A N/A N/A self _CurrentMode array N/A N/A N/A N/A N/A N/A self _CurrentValue append value N/A release_key N/A N/A N/A N/A self _ReleaseKey N/A _BinLoadHeader N/A N/A self header N/A None N/A N/A Load binary header.

    Args:
      header: str, optional, default internal _plist_bin,
          header to interpret
    Raises:
      BinaryPlistHeaderError: the binary header is malformed
      BinaryPlistVersionError: the binary version is unsupported/unknown
     N/A N/A header None N/A N/A header N/A N/A self _plist_bin N/A 0 8 N/A N/A header N/A header N/A 0 8 N/A N/A N/A N/A magic v N/A N/A struct unpack 6s2s header N/A N/A N/A N/A struct error N/A e N/A N/A N/A BinaryPlistHeaderError N/A Header: %s N/A str e N/A N/A magic N/A self BPLIST_MAGIC N/A N/A N/A BinaryPlistHeaderError N/A Not a plist, wrong magic: %s magic N/A N/A v N/A self BPLIST_VERSIONS N/A N/A N/A BinaryPlistVersionError N/A Unknown plist version: %s v N/A N/A N/A self __bin N/A magic magic N/A N/A N/A self __bin N/A v v N/A _BinLoadFooter N/A N/A self N/A N/A N/A Load binary footer. N/A fmt >5xBBBQQQ N/A N/A N/A a N/A N/A struct unpack fmt N/A N/A self _plist_bin N/A N/A -1 N/A N/A struct calcsize fmt N/A N/A N/A N/A struct error N/A e N/A N/A N/A MalformedPlistError N/A Footer: %s N/A str e N/A N/A N/A self __bin N/A sortVersion N/A a N/A 0 N/A N/A N/A self __bin N/A offsetIntSize N/A a N/A 1 N/A N/A N/A self __bin N/A objectRefSize N/A a N/A 2 N/A N/A N/A self __bin N/A numObjects N/A a N/A 3 N/A N/A N/A self __bin N/A topObject N/A a N/A 4 N/A N/A N/A self __bin N/A offsetTableOffset N/A a N/A 5 N/A _BinGetCount N/A N/A self ofs N/A N/A N/A Retrieve a count value at offset.

    The count value is firstly a 4-bit int N, which tells you
    how large the following int is, given following formula:

        Z = 2**N

    Then the remaining int of size Z bytes follow.
    The number of bytes consumed by the count, returned by this method,
    is sometimes necessary for the calling method to step past the int
    and access the next structure (for example dict keyref).

    Args:
      ofs: int, offset in binary
    Returns:
      (number of bytes consumed by count, count value)
     N/A pos ofs N/A l N/A N/A N/A N/A struct unpack >B N/A N/A self _plist_bin N/A pos N/A pos 1 N/A 0 15 N/A l N/A 2 l N/A c 0 N/A pos 1 N/A unused_i N/A xrange l N/A N/A c N/A N/A c 8 N/A ord N/A N/A self _plist_bin N/A pos N/A pos 1 N/A pos 1 N/A N/A N/A pos ofs c N/A _BinLoadSimple N/A N/A self unused_ofs unused_objtype objarg N/A N/A N/A Load a binary simple object.

    Args:
      unused_ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      boolean or None
    Raises:
      MalformedPlistError: if the binary structure is broken
     N/A N/A objarg 0 N/A N/A x None N/A N/A N/A objarg 8 N/A N/A x False N/A N/A N/A objarg 9 N/A N/A x True N/A N/A N/A objarg 15 N/A N/A N/A N/A N/A MalformedPlistError N/A Unknown simple %d objarg N/A x N/A _BinLoadDict N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load a binary dictionary.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      dict
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A N/A N/A N/A self __bin N/A numObjects 255 N/A N/A siz 2 N/A N/A siz 1 N/A fmt N/A N/A self INT_SIZE_FORMAT N/A siz N/A keyref N/A N/A struct unpack N/A >%d%s N/A c fmt N/A N/A self _plist_bin N/A pos N/A pos N/A siz c N/A pos N/A siz c N/A objref N/A N/A struct unpack N/A >%d%s N/A c fmt N/A N/A self _plist_bin N/A pos N/A pos N/A siz c N/A pos N/A siz c N/A d N/A N/A i N/A xrange N/A len keyref N/A N/A N/A N/A self _BinLoadObject N/A N/A self _object_offset N/A N/A keyref N/A i N/A N/A N/A self _BinLoadObject N/A N/A self _object_offset N/A N/A objref N/A i N/A k N/A N/A self __bin N/A N/A N/A self _object_offset N/A N/A keyref N/A i N/A v N/A N/A self __bin N/A N/A N/A self _object_offset N/A N/A objref N/A i N/A N/A d N/A k v N/A d N/A _BinLoadUnused N/A N/A self ofs objtype objarg N/A N/A N/A Load unused object.

    (It has no value)

    Args:
      ofs: int, offset in binary
      objtype: int, object type
      objarg: int, object arg
     N/A N/A _BinLoadInt N/A N/A self ofs unused_objtype unused_objarg N/A N/A N/A Load an integer.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      unused_objarg: int, object arg
    Returns:
      integer
     N/A N/A unused_l c N/A N/A self _BinGetCount ofs N/A c N/A _BinLoadUid N/A N/A self ofs objtype objarg N/A N/A N/A Load a uid.

    Args:
      ofs: int, offset in binary
      objtype: int, object type
      objarg: int, object arg
    Returns:
      Uid instance
     N/A N/A AppleUid N/A N/A self _BinLoadInt ofs objtype objarg N/A _BinLoadFloat N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load a float.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      float
     N/A pos N/A ofs 1 N/A c N/A 2 objarg N/A fmt N/A N/A self FLOAT_SIZE_FORMAT N/A c N/A f N/A N/A N/A struct unpack N/A >%s fmt N/A N/A self _plist_bin N/A pos N/A pos c N/A 0 N/A f N/A _BinLoadDate N/A N/A self ofs unused_objtype unused_objarg N/A N/A N/A Load a date.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      unused_objarg: int, object arg
    Returns:
      datetime in UTC
     N/A pos N/A ofs 1 N/A f N/A N/A N/A struct unpack >d N/A N/A self _plist_bin N/A pos N/A pos 8 N/A 0 N/A td N/A N/A datetime timedelta seconds f N/A utc_d N/A N/A self EPOCH td N/A utc_d N/A _BinLoadUnicode N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load a unicode string.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      unicode str
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A c 2 N/A s N/A unicode N/A N/A self _plist_bin N/A pos N/A pos c utf-16be N/A pos c N/A s N/A _BinLoadAsciiStr N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load a ascii string.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      str
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A s N/A str N/A N/A self _plist_bin N/A pos N/A pos c N/A pos c N/A s N/A _BinLoadArray N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load an array.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      list of array contents
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A N/A N/A N/A self __bin N/A numObjects 255 N/A N/A siz 2 N/A N/A siz 1 N/A fmt N/A N/A self INT_SIZE_FORMAT N/A siz N/A objref N/A N/A struct unpack N/A >%d%s N/A c fmt N/A N/A self _plist_bin N/A pos N/A pos N/A siz c N/A pos N/A siz c N/A a N/A N/A i N/A xrange N/A len objref N/A N/A N/A N/A self _BinLoadObject N/A N/A self _object_offset N/A N/A objref N/A i N/A x N/A N/A self __bin N/A N/A N/A self _object_offset N/A N/A objref N/A i N/A N/A N/A a append x N/A a N/A _BinLoadSet N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load an set.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      set
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A N/A N/A N/A self __bin N/A numObjects 255 N/A N/A siz 2 N/A N/A siz 1 N/A fmt N/A N/A self INT_SIZE_FORMAT N/A siz N/A objref N/A N/A struct unpack N/A >%d%s N/A c fmt N/A N/A self _plist_bin N/A pos N/A pos N/A siz c N/A pos N/A siz c N/A a N/A set N/A i N/A xrange N/A len objref N/A N/A N/A N/A self _BinLoadObject N/A N/A self _object_offset N/A N/A objref N/A i N/A x N/A N/A self __bin N/A N/A N/A self _object_offset N/A N/A objref N/A i N/A N/A N/A a add x N/A a N/A _BinLoadData N/A N/A self ofs unused_objtype objarg N/A N/A N/A Load arbitrary data.

    Args:
      ofs: int, offset in binary
      unused_objtype: int, object type
      objarg: int, object arg
    Returns:
      str
     N/A pos N/A ofs 1 N/A N/A objarg N/A self COUNT_INT_FOLLOWS N/A N/A N/A l c N/A N/A self _BinGetCount pos N/A pos l N/A N/A c objarg N/A data N/A N/A self _plist_bin N/A pos N/A pos c N/A pos c N/A N/A AppleData data N/A _BinLoadObject N/A N/A self ofs N/A 0 N/A N/A Load an object.

    Args:
      ofs: int, offset in binary
    Returns:
      any value of object (int, str, etc..)
     N/A pos ofs N/A N/A pos N/A self __bin N/A N/A N/A N/A self __bin N/A pos N/A objtype N/A N/A ord N/A N/A self _plist_bin N/A pos 4 N/A objarg N/A N/A ord N/A N/A self _plist_bin N/A pos 15 N/A N/A N/A x N/A N/A N/A self _type_lookup N/A objtype pos objtype objarg N/A N/A N/A self __bin N/A pos x N/A N/A N/A KeyError N/A N/A N/A MalformedPlistError N/A Unknown binary objtype %d objtype N/A N/A N/A ValueError TypeError N/A e N/A N/A N/A MalformedPlistError N/A Binary struct problem offset %d: %s N/A pos N/A str e N/A x N/A _BinLoadObjects N/A N/A self N/A N/A N/A Load all objects. N/A object_no N/A N/A self __bin N/A topObject N/A objects N/A N/A self _BinLoadObject N/A N/A self _object_offset N/A object_no N/A objects N/A _BinaryParse N/A N/A self N/A N/A N/A Parse a binary plist. N/A N/A N/A self _BinLoadHeader N/A N/A N/A self _BinLoadFooter N/A N/A N/A self _BinLoadOffsetTable N/A N/A self _plist N/A N/A self _BinLoadObjects N/A _BinLoadOffsetTable N/A N/A self N/A N/A N/A Load binary offset table. N/A ofs N/A N/A self __bin N/A offsetTableOffset N/A int_size N/A N/A self __bin N/A offsetIntSize N/A N/A self _object_offset N/A N/A fmt N/A >%s N/A N/A self INT_SIZE_FORMAT N/A int_size N/A offset_no N/A xrange 0 N/A N/A self __bin N/A numObjects N/A N/A N/A N/A oft N/A N/A N/A struct unpack fmt N/A N/A self _plist_bin N/A ofs N/A ofs int_size N/A 0 N/A N/A N/A N/A struct error N/A e N/A N/A N/A MalformedPlistError N/A Offset table: %s N/A str e N/A N/A N/A self _object_offset N/A offset_no oft N/A ofs int_size N/A Parse N/A N/A self N/A N/A N/A Parse a Plist. N/A N/A hasattr self _plist N/A N/A PlistAlreadyParsedError N/A N/A self _plist_bin N/A N/A N/A N/A self _BinaryParse N/A N/A parser N/A N/A self _GetParser N/A N/A N/A N/A N/A parser Parse N/A self _plist_xml N/A N/A N/A N/A N/A N/A xml parsers expat ExpatError N/A e N/A N/A N/A MalformedPlistError N/A %s

%s N/A N/A self _plist_xml N/A str e N/A N/A N/A hasattr self _plist N/A N/A N/A MalformedPlistError Plist not parsed; invalid XML? N/A N/A N/A self Validate N/A N/A N/A self EncodeXml N/A AddValidationHook N/A N/A self method N/A N/A N/A Adds a validation hook to run when Validate is called.

    Args:
      method: a callable to execute.
     N/A N/A N/A N/A self _validation_hooks append method N/A _ValidateBasic N/A N/A self config N/A N/A N/A Validate the plist with a config.

    Args:
      config: dict, containing keys to search for, and their expected types.
          e.g.
              { 'key': int,
                'otherkey': str },
    Raises:
      InvalidPlistError: the plist is not valid
     N/A k config N/A N/A N/A k N/A self _plist N/A N/A N/A InvalidPlistError N/A Missing element %s k N/A N/A N/A type N/A N/A self _plist N/A k N/A config N/A k N/A N/A N/A InvalidPlistError N/A Invalid type for element %s. Got %s, expected %s N/A k N/A type N/A N/A self _plist N/A k N/A config N/A k N/A Validate N/A N/A self N/A N/A N/A Verify that this Plist is valid.

    Raises:
      InvalidPlistError: the plist is not valid
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A method N/A self _validation_hooks N/A N/A N/A method N/A N/A self _VALIDATE_BASIC_CONFIG N/A N/A N/A N/A self _ValidateBasic N/A self _VALIDATE_BASIC_CONFIG N/A EncodeXml N/A N/A self encoding N/A None N/A N/A Encodes the plist xml to a particular encoding.

    Args:
      encoding: str unicode encoding type to use; default None uses encoding
        embedded in XML if present.
     N/A N/A encoding N/A N/A encoding N/A N/A self GetEncoding N/A N/A encoding N/A N/A type N/A self _plist_xml unicode N/A N/A N/A N/A N/A self _plist_xml N/A unicode N/A self _plist_xml encoding N/A N/A N/A LookupError N/A N/A N/A InvalidPlistError N/A Encoding not valid: %s encoding N/A GetContents N/A N/A self N/A N/A N/A Return a dictionary or array representing the parsed plist structure.

    Returns:
      contents of plist, typically dictionary or array, or
      None if no contents.
    Raises:
      InvalidPlistError: no parsed plist is available
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A self _plist N/A SetContents N/A N/A self plist_obj N/A N/A N/A Sets an array or dictionary representing plist structure.

    Args:
      plist_obj: array or dictionary plist.
    Raises:
      PlistError: the plist content type is not supported
      other exceptions: as Validate() would raise them
     N/A N/A N/A type plist_obj PLIST_CONTENT_TYPES N/A N/A N/A PlistError N/A Plist contents type is not supported: %s N/A type plist_obj N/A N/A self _plist plist_obj N/A N/A self _changed True N/A N/A self _plist_xml N/A N/A self GetXml N/A N/A N/A self Validate N/A GetEncoding N/A N/A self N/A N/A N/A Returns the encoding of the plist document.

    This method lowercases the encoding value in the plist document
    to match the rest of Python.

    Returns:
      str like 'utf-8', not 'UTF-8', or None if encoding is not set.
     N/A N/A self _plist_xml_encoding N/A N/A N/A N/A N/A self _plist_xml_encoding lower N/A None N/A GetXml N/A N/A self indent_num xml_doc N/A 0 True N/A N/A Returns string XML document.

    This function will always return a string, even if the plist is invalid,
    empty, or unset.

    Args:
      indent_num: int, number of indents to start from
      xml_doc: bool, True to return a fully fledged xml document including
        xml header and footer, False to return a xml string starting from
        the plist node.
    Returns:
      str
    Raises:
      PlistError: Output of this plist not supported because of its type
     N/A N/A N/A hasattr self _plist N/A N/A N/A xml_doc N/A getattr self _plist_xml None N/A N/A N/A self _plist_xml N/A N/A N/A getattr self _plist_xml None N/A N/A N/A N/A N/A N/A self Parse N/A N/A N/A PlistError N/A N/A N/A self _plist None N/A N/A N/A self _plist None N/A N/A N/A type N/A self _plist PLIST_CONTENT_TYPES N/A N/A N/A PlistError N/A Plist contents type is not supported: %s N/A type N/A self _plist N/A N/A N/A self _plist None N/A N/A str_xml N/A N/A str_xml N/A GetXmlStr N/A self _plist indent_num N/A indent_num N/A xml_doc 1 N/A xml_doc N/A N/A N/A N/A join N/A PLIST_HEAD str_xml PLIST_FOOT N/A N/A str_xml N/A GetXmlContent N/A N/A self indent_num N/A 0 N/A N/A Returns only the nodes below the plist node of the XML document.

    Args:
      indent_num: int, number of indents to start from
    Returns:
      str or None
     N/A plist_xml N/A N/A self GetXml indent_num indent_num xml_doc False N/A plist_xml N/A HasChanged N/A N/A self N/A N/A N/A Returns true if this plist has been changed since last call.

    Also clears change flag when read.

    Note this change value can be vastly wrong since a simple
    GetContents()['foo']=True will change the internal dictionary but not
    set changed The changed flag is best used strictly in combination with
    Set*() methods in specific uses, or using SetChanged() to set the
    flag when undetectable changes were made.

    Returns:
      bool
     N/A changed N/A self _changed N/A N/A self _changed False N/A changed N/A SetChanged N/A N/A self changed N/A True N/A N/A Set changed flag. N/A N/A N/A type changed bool N/A N/A N/A self _changed changed N/A N/A N/A ValueError changed must be bool N/A Equal N/A N/A self plist ignore_keys N/A None N/A N/A Checks if a passed plist is the same, ignoring certain keys.

    Args:
      plist: ApplePlist object.
      ignore_keys: optional, sequence, str keys to ignore.
    Returns:
      Boolean. True if the plist is the same, False otherwise.
    Raises:
      PlistNotParsedError: the plist was not parsed.
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A ignore_keys N/A N/A N/A self plist N/A key plist N/A N/A N/A key ignore_keys N/A N/A N/A N/A N/A N/A N/A plist N/A key N/A N/A self _plist N/A key N/A N/A False N/A N/A N/A KeyError N/A N/A False N/A True N/A __contains__ N/A N/A self k N/A N/A N/A Standard python __contains__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A k N/A self _plist N/A __getitem__ N/A N/A self k N/A N/A N/A Standard python __getitem__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A k N/A __setitem__ N/A N/A self k v N/A N/A N/A Standard python __setitem__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A k v N/A N/A self _changed True N/A __delitem__ N/A N/A self k N/A N/A N/A Standard python __delitem__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A k N/A N/A self _changed True N/A __iter__ N/A N/A self N/A N/A N/A Standard python __iter__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A i N/A self _plist N/A N/A N/A i N/A __eq__ N/A N/A self other N/A N/A N/A Standard python __eq__ method. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A issubclass N/A other __class__ N/A self __class__ N/A N/A False N/A N/A N/A self _plist N/A N/A other GetContents N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A __str__ N/A N/A self N/A N/A N/A Returns a utf-8 encoded string representation of the plist XML. N/A N/A N/A N/A N/A self GetXml encode utf-8 N/A __unicode__ N/A N/A self N/A N/A N/A Returns a unicode representation of the plist XML. N/A N/A N/A self GetXml N/A get N/A N/A self k default N/A None N/A N/A Standard python dict get method. N/A N/A k self N/A N/A N/A self N/A k N/A N/A default N/A set N/A N/A self k v N/A N/A N/A Standard python dict set method. N/A N/A self N/A k v N/A N/A MunkiPlist N/A ApplePlist N/A N/A Class to read Munki plists and produce a dict. __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super MunkiPlist self __init__ args kwargs N/A N/A N/A self AddValidationHook N/A self _IsPlistEmpty N/A _IsPlistEmpty N/A N/A self N/A N/A N/A Raises InvalidPlistError if plist is empty or non-existent. N/A N/A N/A N/A hasattr self _plist N/A N/A self _plist None N/A N/A InvalidPlistError N/A N/A MunkiManifestPlist N/A MunkiPlist N/A N/A Munki Manifest plist. N/A _VALIDATE_BASIC_CONFIG N/A catalogs list N/A MunkiPackageInfoPlist N/A MunkiPlist N/A N/A Munki PackageInfo plist. N/A _VALIDATE_BASIC_CONFIG N/A catalogs installer_item_location installer_item_hash name list unicode unicode unicode __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super MunkiPackageInfoPlist self __init__ args kwargs N/A N/A N/A self AddValidationHook N/A self _ValidateForceInstallAfterDate N/A N/A N/A self AddValidationHook N/A self _ValidateInstallerItemLocation N/A N/A N/A self AddValidationHook N/A self _ValidateInstallsFilePath N/A N/A N/A self AddValidationHook N/A self _ValidateName N/A _ValidateForceInstallAfterDate N/A N/A self N/A N/A N/A Validate the force_install_after_date field, ensuring it's a date.

    Raises:
      InvalidPlistError: the plist is not valid.
      PlistNotParsedError: the plist was not parsed.
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A force_install_after_date N/A self _plist N/A N/A N/A N/A isinstance N/A N/A self _plist N/A force_install_after_date N/A datetime datetime N/A N/A N/A InvalidPlistError N/A force_install_after_date must be a date, received a %r N/A type N/A N/A self _plist N/A force_install_after_date N/A _ValidateInstallerItemLocation N/A N/A self N/A N/A N/A Validate a pkginfo <key>installer_item_location</key> value. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A N/A N/A N/A N/A self _plist get installer_item_location find / -1 N/A N/A N/A InvalidPlistError N/A <key>installer_item_location</key> cannot contain paths: %s N/A N/A self _plist N/A installer_item_location N/A _ValidateInstallsFilePath N/A N/A self N/A N/A N/A Validate the path strings of installs node of type=file.

    Raises:
      InvalidPlistError: the plist is not valid.
      PlistNotParsedError: the plist was not parsed.
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A installs N/A self _plist N/A N/A N/A N/A isinstance N/A N/A self _plist N/A installs list N/A N/A N/A InvalidPlistError installs must be an array. N/A install N/A N/A self _plist N/A installs N/A N/A N/A N/A N/A install get type file N/A N/A N/A N/A install get path N/A N/A N/A N/A N/A N/A install N/A path find -1 N/A N/A N/A InvalidPlistError Illegal newlines in install path install N/A N/A N/A InvalidPlistError Missing path value for installs type file N/A _ValidateName N/A N/A self N/A N/A N/A Validate a pkginfo <key>name</key> value. N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A N/A N/A N/A N/A self _plist get name find - -1 N/A N/A N/A InvalidPlistError N/A <key>name</key> cannot contain a dash: %s N/A N/A self _plist N/A name N/A GetPackageName N/A N/A self N/A N/A N/A Returns the name of the package in the pkginfo plist.

    Returns:
      String name of package from plist.
    Raises:
      PlistError: name attribute was not in the plist.
      PlistNotParsedError: the plist was not parsed.
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A name N/A self _plist N/A N/A N/A N/A self _plist N/A name N/A N/A N/A PlistError Package name not found in pkginfo plist. N/A GetMunkiName N/A N/A self N/A N/A N/A Construct and return the munki pkg-ver name.

    Returns:
      str munki name like "FooPkg-1.2.3.
    Raises:
      PlistNotParsedError: the plist was not parsed.
      InvalidPlistError: pkginfo is missing required fields; version is always
        requires, and either display_name or name are required.
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A version N/A self _plist N/A N/A N/A InvalidPlistError pkginfo is missing version key N/A N/A display_name N/A self _plist N/A N/A N/A %s-%s N/A N/A N/A self _plist N/A display_name N/A N/A self _plist N/A version N/A N/A N/A name N/A self _plist N/A N/A N/A InvalidPlistError pkginfo is missing name and display_name keys N/A N/A %s-%s N/A N/A N/A self _plist N/A name N/A N/A self _plist N/A version N/A SetDescription N/A N/A self description N/A N/A N/A Set the package info description.

    Args:
      description: str, description
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A description description N/A N/A self _changed True N/A SetDisplayName N/A N/A self display_name N/A N/A N/A Set the package info display name.

    Args:
      display_name: str, display name
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A display_name display_name N/A N/A self _changed True N/A SetUnattendedInstall N/A N/A self unattended_install N/A N/A N/A Set the package info unattended install.

    Args:
      unattended_install: bool, unattended install?
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A unattended_install N/A N/A N/A N/A self _plist N/A unattended_install True N/A N/A N/A self _plist N/A forced_install True N/A N/A self _changed True N/A N/A N/A unattended_install N/A self _plist N/A N/A N/A N/A self _plist N/A unattended_install N/A N/A self _changed True N/A N/A forced_install N/A self _plist N/A N/A N/A N/A self _plist N/A forced_install N/A N/A self _changed True N/A SetUnattendedUninstall N/A N/A self unattended_uninstall N/A N/A N/A Set the package info unattended uninstall.

    Args:
      unattended_uninstall: bool, unattended uninstall?
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A unattended_uninstall N/A N/A N/A N/A self _plist N/A unattended_uninstall True N/A N/A N/A self _plist N/A forced_uninstall True N/A N/A self _changed True N/A N/A N/A unattended_uninstall N/A self _plist N/A N/A N/A N/A self _plist N/A unattended_uninstall N/A N/A self _changed True N/A N/A forced_uninstall N/A self _plist N/A N/A N/A N/A self _plist N/A forced_uninstall N/A N/A self _changed True N/A SetCatalogs N/A N/A self catalogs N/A N/A N/A Set the package info catalogs.

    Args:
      catalogs: list, catalogs
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A catalogs catalogs N/A N/A self _changed True N/A RemoveDisplayName N/A N/A self N/A N/A N/A Removes the display_name key from the plist. N/A N/A display_name N/A self _plist N/A N/A N/A N/A self _plist N/A display_name N/A EqualIgnoringManifestsAndCatalogs N/A N/A self pkginfo N/A N/A N/A Returns True if the pkginfo is equal except the manifests. N/A N/A N/A self Equal pkginfo ignore_keys N/A manifests catalogs N/A N/A AppleSoftwareCatalogPlist N/A ApplePlist N/A N/A Apple software catalog. SetCatalogs N/A N/A self catalogs N/A N/A N/A Set the package info catalogs.

    Args:
      catalogs: list, catalogs
    Raises:
      PlistNotParsedError: the plist was not parsed
     N/A N/A N/A hasattr self _plist N/A N/A PlistNotParsedError N/A N/A N/A self _plist N/A catalogs catalogs N/A N/A self _changed True N/A N/A EscapeString N/A N/A s N/A N/A N/A Given a string, return a XML-escaped version.

  Args:
    s: str
  Returns:
    str
   N/A N/A N/A N/A N/A xml sax saxutils escape s N/A DictToXml N/A N/A xml_dict indent_num N/A None N/A N/A Returns string XML of all items in a sequence or nested sequences.

  Args:
    xml_dict: dict to convert to XML.
    indent_num: optional integer; how many times to indent output.
  Returns:
    String XML.
   N/A N/A indent_num None N/A N/A indent_num 0 N/A indent N/A INDENT_CHAR indent_num N/A child_indent N/A INDENT_CHAR N/A indent_num 1 N/A str_xml N/A N/A N/A N/A str_xml append N/A %s<dict> indent N/A key N/A sorted xml_dict N/A N/A value N/A xml_dict N/A key N/A N/A N/A str_xml append N/A %s<key>%s</key> N/A child_indent N/A EscapeString key N/A N/A N/A str_xml append N/A GetXmlStr value indent_num N/A indent_num 1 N/A N/A N/A str_xml append N/A %s</dict> indent N/A N/A N/A join str_xml N/A SequenceToXml N/A N/A sequence indent_num N/A None N/A N/A Returns string XML of all items in a sequence or nested sequences.

  Args:
    sequence: list or tuple to convert to XML.
    indent_num: optional integer; how many times to indent output.
  Returns:
    String XML.
   N/A N/A indent_num None N/A N/A indent_num 0 N/A indent N/A INDENT_CHAR indent_num N/A str_xml N/A N/A N/A N/A str_xml append N/A %s<array> indent N/A value sequence N/A N/A N/A N/A str_xml append N/A GetXmlStr value indent_num N/A indent_num 1 N/A N/A N/A str_xml append N/A %s</array> indent N/A N/A N/A join str_xml N/A GetXmlStr N/A N/A value indent_num N/A None N/A N/A Returns XML representation of a variable.

  Args:
    value: any supported type: list, tuple, dict, str, unicode, int.
    indent_num: optional integer; how many times to indent output.
  Returns:
    String XML.
  Raises:
    PlistError: a plist type is not supported in output
   N/A N/A indent_num None N/A N/A indent_num 0 N/A indent N/A INDENT_CHAR indent_num N/A str_xml N/A N/A value_type N/A type value N/A N/A N/A value_type list N/A value_type tuple N/A N/A N/A N/A str_xml append N/A SequenceToXml value indent_num indent_num N/A N/A N/A value_type dict N/A N/A N/A N/A str_xml append N/A DictToXml value indent_num indent_num N/A N/A N/A N/A value_type str N/A value_type unicode N/A N/A N/A N/A str_xml append N/A %s<string>%s</string> N/A indent N/A EscapeString value N/A N/A N/A value_type int N/A N/A N/A N/A str_xml append N/A %s<integer>%d</integer> N/A indent value N/A N/A N/A value_type float N/A N/A N/A N/A str_xml append N/A %s<real>%f</real> N/A indent value N/A N/A N/A value_type bool N/A N/A value N/A N/A N/A N/A str_xml append N/A %s<true/> indent N/A N/A N/A N/A str_xml append N/A %s<false/> indent N/A N/A N/A value_type N/A datetime datetime N/A N/A date_str N/A N/A value strftime PLIST_DATE_FORMAT N/A N/A N/A str_xml append N/A %s<date>%s</date> N/A indent date_str N/A N/A N/A value_type N/A type None N/A N/A N/A N/A str_xml append N/A %s<string></string> indent N/A N/A N/A N/A value __class__ AppleUid N/A N/A N/A N/A str_xml append N/A %s<dict><key>CF$UID</key><integer>%s</integer></dict> N/A indent value N/A N/A N/A N/A value __class__ AppleData N/A N/A N/A N/A str_xml append N/A %s<data>%s</data> N/A indent N/A N/A base64 b64encode value N/A N/A N/A issubclass N/A value __class__ ApplePlist N/A N/A N/A N/A str_xml append N/A N/A value GetXmlContent indent_num indent_num N/A N/A N/A PlistError Value type %s not supported: %s value_type value N/A N/A N/A join str_xml N/A UpdateIterable N/A N/A o ki value default op N/A None None None N/A N/A Update iteratable object 'o' at [Key or Index].

  Args:
    o: iterable object like list or dict
    ki: key/index position to update
    value: if defined, value to set at key/index
    default: if defined, value to set if key/index does not yet exist,
      otherwise no initialization is performed and operations on
      non-existent keys or indexes raise KeyError/IndexError
    op: if defined, a function to call with args (o[ki], value).
      if the function returns a value other than None, that value
      is used to update o[ki].  if None is returned, it is assumed
      that the op function did something with the value and no further
      operation is needed.
  Returns:
    None
  Raises:
    KeyError: if performing an op on a non-existent key without
      default parameter used
    IndexError: if performing an op on a non-existent or non-consecutive
      index without default parameter used
   N/A N/A N/A default None N/A ki o N/A N/A N/A o N/A ki default N/A N/A op None N/A N/A new_v N/A op N/A o N/A ki value N/A N/A new_v None N/A N/A value new_v N/A N/A value None N/A N/A value None N/A N/A N/A o N/A ki value N/A