Module Expr Str Import alias Import alias Import alias If CompareNotEq AttributeLoad NameLoad attr Str body Import alias If Call NameLoad NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Assign NameStore ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Dict Num Num Num Dict Num Num Num Num Num Num Dict Num Num Num Num Num Num Dict Num Num Num Num Num Num Assign NameStore ListLoad ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num For NameStore Call NameLoad Num body Assign NameStore BinOpBitXor BinOpLShift SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num If CompareNotEq BinOpBitAnd NameLoad Num Num body AugAssignBitXor NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult ListLoad Num Num For NameStore Call NameLoad Num Num body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Num body Return Num Return SubscriptLoad NameLoad Index BinOpMod BinOpAdd SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Num decorator_list Assign NameStore ListComp BinOpMult ListLoad Num Num comprehension NameStore Call NameLoad Num Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Num For NameStore Call NameLoad Num Num body Assign NameStore SubscriptLoad NameLoad Index BinOpSub Num SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad BinOpBitAnd BinOpRShift NameLoad BinOpSub Num NameLoad Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Assign NameStore ListComp BinOpMult ListLoad Num Num comprehension NameStore Call NameLoad Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad Num body AugAssignBitXor SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad BinOpMult SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign NameStore BinOpMult ListLoad Num Num Assign NameStore BinOpMult ListLoad Num Num For NameStore Call NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad BinOpLShift SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num For NameStore Call NameLoad Num Num body AugAssignBitXor SubscriptStore NameLoad Index NameLoad BinOpLShift SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad BinOpSub Num NameLoad Assign SubscriptStore NameLoad Index BinOpBitAnd SubscriptLoad NameLoad Index NameLoad Num NameLoad Assign NameStore ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore ListComp BinOpMult ListLoad Num Num comprehension NameStore Call NameLoad Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index BinOpAdd NameLoad Num Num For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpAdd NameLoad Num While BoolOpAnd CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num CompareLt NameLoad Num body AugAssignAdd NameStore Num Assert CompareNotEq NameLoad Num Str For NameStore Call NameLoad Num body Assign TupleStore SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad TupleLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad For NameStore Call NameLoad Num body If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpMod BinOpSub BinOpAdd Num SubscriptLoad NameLoad Index BinOpBitAnd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Num For NameStore Call NameLoad Num body If CompareNotEq NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num Num body AugAssignBitXor SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Assign NameStore ListComp BinOpMult ListLoad Num Num comprehension NameStore Call NameLoad Num For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpAdd NameLoad Num FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Num body Return Num Assign NameStore Num For NameStore NameLoad body AugAssignLShift NameStore Num If CompareNotEq NameLoad Num body Assign NameStore BinOpBitOr NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num Assign NameStore ListLoad Num Assign NameStore Num For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel Delete NameDel ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults Num body If BoolOpAnd CompareNotEq NameLoad Num CompareNotEq NameLoad Num CompareNotEq NameLoad Num body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad If BoolOpAnd CompareNotEq Call NameLoad NameLoad Num CompareNotEq Call NameLoad NameLoad Num CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpAdd Str Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Call NameLoad NameLoad Index NameLoad Assign NameStore BinOpDiv NameLoad Num Assign NameStore ListComp BinOpMult ListLoad Num NameLoad comprehension NameStore Call NameLoad BinOpAdd NameLoad Num Assign NameStore ListComp BinOpMult ListLoad Num NameLoad comprehension NameStore Call NameLoad BinOpAdd NameLoad Num Assign NameStore BinOpMult BinOpAdd NameLoad Num NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign NameStore ListLoad For NameStore Call NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr BinOpBitOr BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpMult NameLoad Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Assign NameStore Num Assign NameStore Num While BoolOpAnd CompareLt NameLoad NameLoad CompareLt NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index BinOpDiv NameLoad NameLoad Index BinOpMod NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index BinOpSub NameLoad BinOpDiv NameLoad NameLoad Index BinOpMod NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num Assign NameStore Num Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpSub NameLoad Num AugAssignBitXor SubscriptStore NameLoad Index Num BinOpBitXor BinOpBitXor BinOpBitXor BinOpBitXor BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Num Num BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index NameLoad Num Num AugAssignAdd NameStore Num If CompareNotEq NameLoad Num body For NameStore Call NameLoad Num NameLoad body AugAssignBitXor SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num orelse For NameStore Call NameLoad Num BinOpDiv NameLoad Num body AugAssignBitXor SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num Assign NameStore SubscriptLoad NameLoad Index BinOpSub BinOpDiv NameLoad Num Num AugAssignBitXor SubscriptStore NameLoad Index BinOpDiv NameLoad Num BinOpBitXor BinOpBitXor BinOpBitXor BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num Num BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num Num Num For NameStore Call NameLoad BinOpAdd BinOpDiv NameLoad Num Num NameLoad body AugAssignBitXor SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num Assign NameStore Num While BoolOpAnd CompareLt NameLoad NameLoad CompareLt NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index BinOpDiv NameLoad NameLoad Index BinOpMod NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index BinOpSub NameLoad BinOpDiv NameLoad NameLoad Index BinOpMod NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num For NameStore Call NameLoad Num NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad BinOpBitXor BinOpBitXor BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore BinOpSub Call NameLoad NameLoad Num If CompareEq NameLoad Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore BinOpMult ListLoad Num NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpBitXor BinOpBitOr BinOpBitOr BinOpBitOr BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpMult NameLoad Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad For NameStore Call NameLoad Num NameLoad body For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpBitXor BinOpBitXor BinOpBitXor BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num NameLoad Num Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore BinOpSub Call NameLoad NameLoad Num If CompareEq NameLoad Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Assign NameStore BinOpMult ListLoad Num NameLoad Assign NameStore BinOpMult ListLoad Num NameLoad For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpBitXor BinOpBitOr BinOpBitOr BinOpBitOr BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpMult NameLoad Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num BinOpLShift Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num Num Call NameLoad SubscriptLoad NameLoad Index BinOpAdd BinOpMult NameLoad Num Num SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad For NameStore Call NameLoad Num NameLoad body For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpBitXor BinOpBitXor BinOpBitXor BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num Num BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitXor SubscriptLoad NameLoad Index BinOpBitAnd SubscriptLoad NameLoad Index BinOpMod BinOpAdd NameLoad NameLoad NameLoad Num NameLoad Num Return Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMult Str NameLoad Assign NameStore Call NameLoad BinOpMult Str NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num Expr Call NameLoad Num Num decorator_list
N/A N/A 
A pure python (slow) implementation of rijndael with a decent interface

To include -

from rijndael import rijndael

To do a key setup -

r = rijndael(key, block_size = 16)

key must be a string of length 16, 24, or 32
blocksize must be 16, 24, or 32. Default is 16

To use -

ciphertext = r.encrypt(plaintext)
plaintext = r.decrypt(ciphertext)

If any strings are of the wrong length a ValueError is thrown
 N/A copy N/A string N/A os N/A N/A N/A os name java N/A N/A exceptions N/A N/A hasattr exceptions FutureWarning N/A N/A warnings N/A N/A N/A warnings filterwarnings ignore category FutureWarning append 1 N/A shifts N/A N/A N/A 0 0 N/A 1 3 N/A 2 2 N/A 3 1 N/A N/A 0 0 N/A 1 5 N/A 2 4 N/A 3 3 N/A N/A 0 0 N/A 1 7 N/A 3 5 N/A 4 4 N/A num_rounds N/A 16 24 32 N/A 16 24 32 10 12 14 N/A 16 24 32 12 12 14 N/A 16 24 32 14 14 14 N/A A N/A N/A 1 1 1 1 1 0 0 0 N/A 0 1 1 1 1 1 0 0 N/A 0 0 1 1 1 1 1 0 N/A 0 0 0 1 1 1 1 1 N/A 1 0 0 0 1 1 1 1 N/A 1 1 0 0 0 1 1 1 N/A 1 1 1 0 0 0 1 1 N/A 1 1 1 1 0 0 0 1 N/A alog N/A 1 N/A i N/A range 255 N/A N/A j N/A N/A N/A alog N/A -1 1 N/A alog N/A -1 N/A N/A N/A j 256 0 N/A N/A j 283 N/A N/A N/A alog append j N/A log N/A N/A 0 256 N/A i N/A range 1 255 N/A N/A N/A log N/A N/A alog N/A i i mul N/A N/A a b N/A N/A N/A N/A N/A a 0 N/A b 0 N/A N/A 0 N/A N/A alog N/A N/A N/A N/A log N/A N/A a 255 N/A log N/A N/A b 255 255 N/A N/A box N/A N/A N/A 0 8 N/A i N/A range 256 N/A N/A N/A box N/A 1 N/A 7 1 N/A i N/A range 2 256 N/A N/A j N/A alog N/A N/A 255 N/A log N/A i N/A t N/A range 8 N/A N/A N/A N/A box N/A i N/A t N/A N/A j N/A 7 t 1 N/A B N/A 0 1 1 0 0 0 1 1 N/A cox N/A N/A N/A 0 8 N/A i N/A range 256 N/A i N/A range 256 N/A N/A t N/A range 8 N/A N/A N/A N/A cox N/A i N/A t N/A B N/A t N/A j N/A range 8 N/A N/A N/A N/A cox N/A i N/A t N/A N/A N/A A N/A t N/A j N/A N/A box N/A i N/A j N/A S N/A N/A 0 256 N/A Si N/A N/A 0 256 N/A i N/A range 256 N/A N/A N/A S N/A i N/A N/A N/A cox N/A i N/A 0 7 N/A t N/A range 1 8 N/A N/A N/A S N/A i N/A N/A N/A cox N/A i N/A t N/A 7 t N/A N/A Si N/A N/A N/A S N/A i 255 i N/A G N/A N/A 2 1 1 3 N/A 3 2 1 1 N/A 1 3 2 1 N/A 1 1 3 2 N/A AA N/A N/A N/A 0 8 N/A i N/A range 4 N/A i N/A range 4 N/A N/A j N/A range 4 N/A N/A N/A N/A AA N/A i N/A j N/A N/A G N/A i N/A j N/A N/A N/A AA N/A i N/A N/A i 4 1 N/A i N/A range 4 N/A N/A pivot N/A N/A AA N/A i N/A i N/A N/A pivot 0 N/A N/A t N/A i 1 N/A N/A N/A N/A N/A AA N/A t N/A i 0 N/A t 4 N/A N/A t 1 N/A N/A t 4 G matrix must be invertible N/A j N/A range 8 N/A N/A N/A N/A N/A AA N/A i N/A j N/A N/A AA N/A t N/A j N/A N/A N/A AA N/A t N/A j N/A N/A AA N/A i N/A j N/A pivot N/A N/A AA N/A i N/A i N/A j N/A range 8 N/A N/A N/A N/A N/A AA N/A i N/A j 0 N/A N/A N/A N/A AA N/A i N/A j N/A alog N/A N/A N/A N/A 255 N/A log N/A N/A N/A N/A AA N/A i N/A j 255 N/A log N/A N/A pivot 255 255 N/A t N/A range 4 N/A N/A N/A i t N/A N/A j N/A range N/A i 1 8 N/A N/A N/A N/A AA N/A t N/A j N/A mul N/A N/A AA N/A i N/A j N/A N/A AA N/A t N/A i N/A N/A N/A AA N/A t N/A i 0 N/A iG N/A N/A N/A 0 4 N/A i N/A range 4 N/A i N/A range 4 N/A N/A j N/A range 4 N/A N/A N/A N/A iG N/A i N/A j N/A N/A AA N/A i N/A N/A j 4 mul4 N/A N/A a bs N/A N/A N/A N/A a 0 N/A N/A 0 N/A r 0 N/A b bs N/A N/A r 8 N/A N/A b 0 N/A N/A r N/A r N/A mul a b N/A r N/A N/A T1 N/A N/A T2 N/A N/A T3 N/A N/A T4 N/A N/A T5 N/A N/A T6 N/A N/A T7 N/A N/A T8 N/A N/A U1 N/A N/A U2 N/A N/A U3 N/A N/A U4 N/A N/A t N/A range 256 N/A N/A s N/A S N/A t N/A N/A N/A T1 append N/A mul4 s N/A G N/A 0 N/A N/A N/A T2 append N/A mul4 s N/A G N/A 1 N/A N/A N/A T3 append N/A mul4 s N/A G N/A 2 N/A N/A N/A T4 append N/A mul4 s N/A G N/A 3 N/A s N/A Si N/A t N/A N/A N/A T5 append N/A mul4 s N/A iG N/A 0 N/A N/A N/A T6 append N/A mul4 s N/A iG N/A 1 N/A N/A N/A T7 append N/A mul4 s N/A iG N/A 2 N/A N/A N/A T8 append N/A mul4 s N/A iG N/A 3 N/A N/A N/A U1 append N/A mul4 t N/A iG N/A 0 N/A N/A N/A U2 append N/A mul4 t N/A iG N/A 1 N/A N/A N/A U3 append N/A mul4 t N/A iG N/A 2 N/A N/A N/A U4 append N/A mul4 t N/A iG N/A 3 N/A rcon N/A 1 N/A r 1 N/A t N/A range 1 30 N/A N/A r N/A mul 2 r N/A N/A N/A rcon append r N/A A N/A AA N/A pivot N/A B N/A G N/A box N/A log N/A alog N/A i N/A j N/A r N/A s N/A t N/A mul N/A mul4 N/A cox N/A iG rijndael N/A N/A __init__ N/A N/A self key block_size N/A 16 N/A N/A N/A N/A block_size 16 N/A block_size 24 N/A block_size 32 N/A N/A N/A ValueError N/A Invalid block size:  N/A str block_size N/A N/A N/A N/A len key 16 N/A N/A len key 24 N/A N/A len key 32 N/A N/A N/A ValueError N/A Invalid key size:  N/A str N/A len key N/A N/A self block_size block_size N/A ROUNDS N/A N/A num_rounds N/A N/A len key N/A block_size N/A BC N/A block_size 4 N/A Ke N/A N/A N/A 0 BC N/A i N/A range N/A ROUNDS 1 N/A Kd N/A N/A N/A 0 BC N/A i N/A range N/A ROUNDS 1 N/A ROUND_KEY_COUNT N/A N/A ROUNDS 1 BC N/A KC N/A N/A len key 4 N/A tk N/A N/A i N/A range 0 KC N/A N/A N/A N/A tk append N/A N/A N/A N/A N/A ord N/A key N/A N/A i 4 24 N/A N/A ord N/A key N/A N/A N/A i 4 1 16 N/A N/A ord N/A key N/A N/A N/A i 4 2 8 N/A ord N/A key N/A N/A N/A i 4 3 N/A t 0 N/A j 0 N/A N/A N/A j KC N/A t ROUND_KEY_COUNT N/A N/A N/A N/A Ke N/A N/A t BC N/A N/A t BC N/A tk N/A j N/A N/A N/A Kd N/A N/A ROUNDS N/A t BC N/A N/A t BC N/A tk N/A j N/A j 1 N/A t 1 N/A tt 0 N/A rconpointer 0 N/A N/A t ROUND_KEY_COUNT N/A N/A tt N/A tk N/A N/A KC 1 N/A N/A tk N/A 0 N/A N/A N/A N/A N/A N/A N/A S N/A N/A N/A tt 16 255 255 24 N/A N/A N/A S N/A N/A N/A tt 8 255 255 16 N/A N/A N/A S N/A N/A tt 255 255 8 N/A N/A S N/A N/A N/A tt 24 255 255 N/A N/A N/A rcon N/A rconpointer 255 24 N/A rconpointer 1 N/A N/A KC 8 N/A N/A i N/A range 1 KC N/A N/A N/A tk N/A i N/A tk N/A N/A i 1 N/A N/A i N/A range 1 N/A KC 2 N/A N/A N/A tk N/A i N/A tk N/A N/A i 1 N/A tt N/A tk N/A N/A N/A KC 2 1 N/A N/A tk N/A N/A KC 2 N/A N/A N/A N/A N/A S N/A N/A tt 255 255 N/A N/A N/A S N/A N/A N/A tt 8 255 255 8 N/A N/A N/A S N/A N/A N/A tt 16 255 255 16 N/A N/A N/A S N/A N/A N/A tt 24 255 255 24 N/A i N/A range N/A N/A KC 2 1 KC N/A N/A N/A tk N/A i N/A tk N/A N/A i 1 N/A j 0 N/A N/A N/A j KC N/A t ROUND_KEY_COUNT N/A N/A N/A N/A Ke N/A N/A t BC N/A N/A t BC N/A tk N/A j N/A N/A N/A Kd N/A N/A ROUNDS N/A t BC N/A N/A t BC N/A tk N/A j N/A j 1 N/A t 1 N/A r N/A range 1 ROUNDS N/A N/A j N/A range BC N/A N/A tt N/A N/A Kd N/A r N/A j N/A N/A N/A Kd N/A r N/A j N/A N/A N/A N/A U1 N/A N/A N/A tt 24 255 N/A U2 N/A N/A N/A tt 16 255 N/A U3 N/A N/A N/A tt 8 255 N/A U4 N/A N/A tt 255 N/A N/A self Ke Ke N/A N/A self Kd Kd N/A encrypt N/A N/A self plaintext N/A N/A N/A N/A N/A len plaintext N/A self block_size N/A N/A N/A ValueError N/A N/A N/A wrong block length, expected  N/A str N/A self block_size  got  N/A str N/A len plaintext N/A Ke N/A self Ke N/A BC N/A N/A self block_size 4 N/A ROUNDS N/A N/A len Ke 1 N/A N/A BC 4 N/A N/A SC 0 N/A N/A N/A BC 6 N/A N/A SC 1 N/A N/A SC 2 N/A s1 N/A N/A N/A shifts N/A SC N/A 1 N/A 0 N/A s2 N/A N/A N/A shifts N/A SC N/A 2 N/A 0 N/A s3 N/A N/A N/A shifts N/A SC N/A 3 N/A 0 N/A a N/A N/A 0 BC N/A t N/A N/A i N/A range BC N/A N/A N/A N/A t append N/A N/A N/A N/A N/A N/A ord N/A plaintext N/A N/A i 4 24 N/A N/A ord N/A plaintext N/A N/A N/A i 4 1 16 N/A N/A ord N/A plaintext N/A N/A N/A i 4 2 8 N/A ord N/A plaintext N/A N/A N/A i 4 3 N/A N/A Ke N/A 0 N/A i N/A r N/A range 1 ROUNDS N/A N/A i N/A range BC N/A N/A N/A a N/A i N/A N/A N/A N/A N/A T1 N/A N/A N/A N/A t N/A i 24 255 N/A T2 N/A N/A N/A N/A t N/A N/A N/A i s1 BC 16 255 N/A T3 N/A N/A N/A N/A t N/A N/A N/A i s2 BC 8 255 N/A T4 N/A N/A N/A t N/A N/A N/A i s3 BC 255 N/A N/A Ke N/A r N/A i N/A t N/A N/A copy copy a N/A result N/A N/A i N/A range BC N/A N/A tt N/A N/A Ke N/A ROUNDS N/A i N/A N/A N/A result append N/A N/A N/A S N/A N/A N/A N/A t N/A i 24 255 N/A tt 24 255 N/A N/A N/A result append N/A N/A N/A S N/A N/A N/A N/A t N/A N/A N/A i s1 BC 16 255 N/A tt 16 255 N/A N/A N/A result append N/A N/A N/A S N/A N/A N/A N/A t N/A N/A N/A i s2 BC 8 255 N/A tt 8 255 N/A N/A N/A result append N/A N/A N/A S N/A N/A N/A t N/A N/A N/A i s3 BC 255 tt 255 N/A N/A N/A string join N/A list N/A map chr result N/A decrypt N/A N/A self ciphertext N/A N/A N/A N/A N/A len ciphertext N/A self block_size N/A N/A N/A ValueError N/A N/A N/A wrong block length, expected  N/A str N/A self block_size  got  N/A str N/A len plaintext N/A Kd N/A self Kd N/A BC N/A N/A self block_size 4 N/A ROUNDS N/A N/A len Kd 1 N/A N/A BC 4 N/A N/A SC 0 N/A N/A N/A BC 6 N/A N/A SC 1 N/A N/A SC 2 N/A s1 N/A N/A N/A shifts N/A SC N/A 1 N/A 1 N/A s2 N/A N/A N/A shifts N/A SC N/A 2 N/A 1 N/A s3 N/A N/A N/A shifts N/A SC N/A 3 N/A 1 N/A a N/A N/A 0 BC N/A t N/A N/A 0 BC N/A i N/A range BC N/A N/A N/A t N/A i N/A N/A N/A N/A N/A N/A ord N/A ciphertext N/A N/A i 4 24 N/A N/A ord N/A ciphertext N/A N/A N/A i 4 1 16 N/A N/A ord N/A ciphertext N/A N/A N/A i 4 2 8 N/A ord N/A ciphertext N/A N/A N/A i 4 3 N/A N/A Kd N/A 0 N/A i N/A r N/A range 1 ROUNDS N/A N/A i N/A range BC N/A N/A N/A a N/A i N/A N/A N/A N/A N/A T5 N/A N/A N/A N/A t N/A i 24 255 N/A T6 N/A N/A N/A N/A t N/A N/A N/A i s1 BC 16 255 N/A T7 N/A N/A N/A N/A t N/A N/A N/A i s2 BC 8 255 N/A T8 N/A N/A N/A t N/A N/A N/A i s3 BC 255 N/A N/A Kd N/A r N/A i N/A t N/A N/A copy copy a N/A result N/A N/A i N/A range BC N/A N/A tt N/A N/A Kd N/A ROUNDS N/A i N/A N/A N/A result append N/A N/A N/A Si N/A N/A N/A N/A t N/A i 24 255 N/A tt 24 255 N/A N/A N/A result append N/A N/A N/A Si N/A N/A N/A N/A t N/A N/A N/A i s1 BC 16 255 N/A tt 16 255 N/A N/A N/A result append N/A N/A N/A Si N/A N/A N/A N/A t N/A N/A N/A i s2 BC 8 255 N/A tt 8 255 N/A N/A N/A result append N/A N/A N/A Si N/A N/A N/A t N/A N/A N/A i s3 BC 255 tt 255 N/A N/A N/A string join N/A list N/A map chr result N/A N/A encrypt N/A N/A key block N/A N/A N/A N/A N/A N/A rijndael key N/A len block encrypt block N/A decrypt N/A N/A key block N/A N/A N/A N/A N/A N/A rijndael key N/A len block decrypt block N/A test N/A N/A N/A N/A t N/A N/A kl bl N/A N/A N/A b N/A b bl N/A r N/A rijndael N/A a kl bl N/A N/A N/A N/A r decrypt N/A N/A r encrypt b b N/A N/A N/A t 16 16 N/A N/A t 16 24 N/A N/A t 16 32 N/A N/A t 24 16 N/A N/A t 24 24 N/A N/A t 24 32 N/A N/A t 32 16 N/A N/A t 32 24 N/A N/A t 32 32 N/A