Module Import alias Import alias ImportFrom alias identifier Import alias identifier Import alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Str Assign NameStore Dict Str Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index Str Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Assign NameStore ListLoad Str Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore ListLoad If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad BoolOpOr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Index NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad BoolOpOr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return ListLoad Str decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Str Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Str If CompareNotIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr handlers ExceptHandler body Assign NameStore Str If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Str AugAssignAdd NameStore NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad body Expr Str Assign NameStore Dict Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str AugAssignAdd NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad BinOpMod Str AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad BinOpMod Str UnaryOpUSub AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Str Str Dict Str Str Dict Str Str Dict Str Str Str Str Dict Str Str Dict Str Str Dict Str Str Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Lambda arguments args NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpBitOr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore BinOpBitOr BinOpAdd BinOpAdd BinOpAdd Call NameLoad Str NameLoad Call NameLoad Str Str BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad Str NameLoad Call NameLoad Str Str Call NameLoad Str Assign NameStore Call BinOpBitOr NameLoad NameLoad Str Assign NameStore Call BinOpBitOr NameLoad NameLoad Str Assign NameStore BinOpBitOr Call NameLoad Str Call NameLoad Str Assign NameStore BinOpBitOr Call NameLoad Str Call NameLoad Str Assign NameStore BinOpAdd Call NameLoad Str Call NameLoad Str Assign NameStore Call AttributeLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Call Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Str NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Call Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Call Call AttributeLoad NameLoad attr NameLoad Str Str Call Call AttributeLoad NameLoad attr NameLoad Str Str NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Call Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Call Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Str NameLoad NameLoad Assign NameStore BinOpAdd Call NameLoad Str NameLoad Assign NameStore BinOpAdd Call NameLoad Str NameLoad Assign NameStore Call Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Str Str Call NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Str Assign NameStore Call Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Str Str Call NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Str Assign NameStore Call Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Str Str Call NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Str Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Call Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad Str NameLoad Str Assign NameStore Call BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpDiv NameLoad Call NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str orelse If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse If AttributeLoad NameLoad attr body Assign NameStore Dict If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Print Str If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse If AttributeLoad NameLoad attr body If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str attr NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str attr NameLoad orelse If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Index Num Index Str attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr Str ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Print Str orelse Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword BinOpAdd Call NameLoad NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str keyword BinOpAdd Call NameLoad NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad BinOpDiv UnaryOpUSub NameLoad Num Str Call NameLoad BinOpDiv UnaryOpUSub NameLoad Num Str Call NameLoad BinOpAdd NameLoad NameLoad Str Call NameLoad BinOpAdd NameLoad NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore ListLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body For NameStore ListLoad Str Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str BinOpAdd SubscriptLoad NameLoad Index Str Str TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list
N/A N/A os N/A re lxml etree et N/A pyparsing pyp N/A pcbmode.config config N/A messages msg N/A svg N/A utils svgpath SvgPath point Point gerberise N/A N/A manufacturer N/A default N/A N/A 
    Generate Gerbers for one or more layers
     N/A svg_in N/A N/A utils openBoardSVG N/A gcd N/A N/A config brd N/A gerber N/A decimals N/A gcd N/A decimals N/A digits N/A gcd N/A digits N/A steps N/A gcd N/A steps-per-segment N/A length N/A gcd N/A min-segment-length N/A xpath_regex N/A ns N/A pcbmode svg N/A N/A N/A config cfg N/A ns N/A pcbmode N/A N/A N/A config cfg N/A ns N/A svg N/A base_dir N/A N/A N/A os path join N/A N/A config cfg N/A base-dir N/A N/A N/A config cfg N/A locations N/A build production N/A N/A N/A utils create_dir base_dir N/A base_name N/A %s_rev_%s N/A N/A N/A N/A config brd N/A config N/A name N/A N/A N/A config brd N/A config N/A rev N/A filename_info N/A N/A N/A N/A N/A config cfg N/A manufacturers N/A manufacturer N/A filenames N/A gerbers N/A pcb_layer N/A N/A config stk N/A layer-names N/A N/A svg_layer N/A N/A svg_in find N/A //svg:g[@pcbmode:pcb-layer='%s'] pcb_layer namespaces ns N/A mask_paths N/A N/A svg_in findall N/A .//svg:defs//svg:mask[@pcbmode:pcb-layer='%s']//svg:path pcb_layer namespaces ns N/A sheets N/A conductor soldermask solderpaste silkscreen N/A sheet sheets N/A N/A sheet_layer N/A N/A svg_layer find N/A .//svg:g[@pcbmode:sheet='%s'] sheet namespaces ns N/A N/A sheet conductor N/A N/A mask_paths_to_pass mask_paths N/A N/A mask_paths_to_pass N/A N/A N/A sheet_layer None N/A N/A gerber N/A Gerber sheet_layer mask_paths_to_pass decimals digits steps length N/A add N/A _%s_%s.%s N/A pcb_layer sheet N/A N/A N/A N/A N/A filename_info N/A N/A N/A N/A pcb_layer split - N/A 0 N/A sheet get ext ger N/A filename N/A N/A N/A os path join base_dir N/A base_name add N/A N/A open filename wb f N/A N/A line N/A N/A gerber getGerber N/A N/A N/A N/A f write line N/A sheets N/A outline documentation N/A sheet sheets N/A N/A sheet_layer N/A N/A svg_in find N/A .//svg:g[@pcbmode:sheet='%s'] sheet namespaces ns N/A gerber N/A Gerber sheet_layer N/A decimals digits steps length N/A add N/A _%s.%s N/A sheet N/A N/A N/A N/A N/A filename_info N/A other N/A sheet get ext ger N/A filename N/A N/A N/A os path join base_dir N/A base_name add N/A N/A open filename wb f N/A N/A line N/A N/A gerber getGerber False N/A N/A N/A N/A f write line N/A N/A bullshit N/A Gerber N/A N/A N/A __init__ N/A N/A self svg mask_paths decimals digits steps length N/A N/A N/A N/A N/A self _ns N/A pcbmode svg N/A N/A N/A config cfg N/A ns N/A pcbmode N/A N/A N/A config cfg N/A ns N/A svg N/A N/A self _svg svg N/A N/A self _mask_paths mask_paths N/A N/A self _decimals decimals N/A N/A self _digits digits N/A N/A self _steps steps N/A N/A self _length length N/A N/A self _grammar N/A N/A self _getGerberGrammar N/A N/A self _aperture_list N/A N/A N/A self _aperture_num 20 N/A N/A self _closed_shape_aperture_num 10 N/A N/A self _pad_flashes_aperture_num 11 N/A N/A self _commands N/A N/A N/A self _apertures N/A N/A N/A self _paths N/A N/A self _getPaths N/A path N/A self _paths N/A N/A tmp N/A N/A style_string N/A N/A path get style N/A N/A tmp N/A style N/A N/A path get N/A N/A { N/A N/A N/A config cfg N/A ns N/A pcbmode }style N/A N/A N/A tmp N/A style stroke N/A N/A N/A tmp N/A stroke-width N/A N/A utils getStyleAttrib style_string stroke-width N/A N/A N/A tmp N/A stroke-width N/A self _apertures N/A N/A N/A N/A self _apertures N/A N/A tmp N/A stroke-width N/A self _aperture_num N/A N/A self _aperture_num 1 N/A N/A tmp N/A gerber-lp N/A N/A path get N/A N/A { N/A N/A N/A config cfg N/A ns N/A pcbmode }gerber-lp N/A location N/A N/A self _getLocation path N/A N/A tmp N/A coords N/A N/A self _getCommandListOfPath path location N/A N/A N/A N/A self _commands append tmp N/A N/A N/A self _flattenCoords N/A N/A self _flashes N/A N/A self _getFlashes N/A N/A self _preamble N/A N/A self _createPreamble N/A N/A self _postamble N/A N/A self _createPostamble N/A _getFlashes N/A N/A self N/A N/A N/A 
        Manufacturers use the coordinate of a flash of pads as coordinates
        for continuity tests when boards are testes. Typically, a pad
        is created using a flash. Since PCBmodE doesn't flash a pad,
        we add tiny dots in the center of the pads.
         N/A fc N/A N/A N/A N/A fc append N/A N/A N/A fc append G04 Pad flashes *
 N/A N/A N/A fc append %LPD*%
 N/A N/A N/A fc append N/A D%d*
 N/A self _pad_flashes_aperture_num N/A pad_paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:sheet='pads']//svg:path namespaces N/A self _ns N/A pad_path pad_paths N/A N/A location N/A N/A self _getLocation pad_path N/A text N/A N/A self _getGerberisedPoint location N/A Point N/A N/A N/A fc append N/A %sD03*
 text N/A N/A N/A fc append N/A fc N/A _getLocation N/A N/A self path N/A N/A N/A 
        Returns the location of a path, factoring in all the transforms of
        its ancestors, and its own transform
         N/A location N/A Point N/A ancestors N/A N/A path xpath ancestor::*[@transform] N/A ancestor ancestors N/A N/A transform N/A N/A ancestor get transform N/A transform_data N/A N/A utils parseTransform transform N/A location N/A transform_data N/A location N/A transform N/A N/A path get transform N/A N/A transform None N/A N/A transform_data N/A N/A utils parseTransform transform N/A location N/A transform_data N/A location N/A location N/A _getPaths N/A N/A self N/A N/A N/A 
        Return all paths in the input SVG layer.  This function also
        captures pours and masks and orders them in the right order so
        the 'dark' and 'clear' areas show up correctly
         N/A paths N/A N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:sheet='pours']//svg:path namespaces N/A self _ns N/A path N/A self _mask_paths N/A N/A N/A N/A paths append path N/A style N/A N/A path get N/A N/A { N/A N/A N/A config cfg N/A ns N/A pcbmode }style N/A N/A style fill N/A N/A N/A N/A path set N/A N/A { N/A N/A N/A config cfg N/A ns N/A pcbmode }style stroke N/A N/A N/A paths append path N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:sheet='routing']//svg:path namespaces N/A self _ns N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:sheet='pads']//svg:path namespaces N/A self _ns N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:type='component-shapes']//svg:path namespaces N/A self _ns N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:type='refdef']//svg:path namespaces N/A self _ns N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:type='layer-index']//svg:path namespaces N/A self _ns N/A paths N/A N/A N/A self _svg findall .//svg:g[@pcbmode:type='module-shapes']//svg:path namespaces N/A self _ns N/A paths N/A getGerber N/A N/A self flashes N/A True N/A N/A 
        Return the complete Gerber
         N/A N/A flashes True N/A N/A gerber N/A N/A N/A N/A self _preamble N/A self _flattened_commands N/A self _flashes N/A self _postamble N/A N/A gerber N/A N/A N/A self _preamble N/A self _flattened_commands N/A self _postamble N/A gerber N/A _flattenCoords N/A N/A self N/A N/A N/A N/A current_polarity N/A commands N/A N/A cmd_set N/A self _commands N/A N/A gerber_lp N/A N/A cmd_set get gerber-lp N/A N/A i cmd_list N/A enumerate N/A cmd_set N/A coords N/A N/A N/A N/A polarity N/A N/A N/A gerber_lp N/A i upper N/A N/A N/A N/A polarity D N/A N/A polarity current_polarity N/A N/A N/A N/A commands append N/A %%LP%s*%%
 polarity N/A current_polarity polarity N/A N/A N/A cmd_set N/A style fill N/A N/A N/A N/A commands append G36*
 N/A N/A N/A N/A commands append N/A D%d*
 N/A N/A self _apertures N/A N/A cmd_set N/A stroke-width N/A commands cmd_list N/A N/A N/A cmd_set N/A style fill N/A N/A N/A N/A commands append G37*
 N/A N/A self _flattened_commands commands N/A _getParamCommand N/A N/A self param comment N/A None N/A N/A 
        Returns a list of Gerber parameter command with an optional
        comment
         N/A commands N/A N/A N/A comment None N/A N/A N/A N/A commands append N/A N/A G04  comment  *
 N/A N/A N/A commands append N/A N/A % param *%
 N/A commands N/A _pathToPoints N/A N/A self path N/A N/A N/A 
        Converts a path into points
         N/A path N/A SvgPath N/A N/A path get d N/A coords N/A N/A path getCoordList N/A self _steps N/A self _length N/A coords N/A _getCommandListOfPath N/A N/A self path offset N/A N/A Point N/A N/A 
        Linearises a path into Gerber points. The 'offset' Point() is
        added to the location.
        Returns a list of Gerber 'commands'.
         N/A commands N/A N/A polarity_sequence N/A order N/A coords N/A N/A self _pathToPoints path N/A coord_list N/A N/A segment coords N/A N/A segment_coord_list N/A N/A text N/A N/A self _getGerberisedPoint N/A segment N/A 0 offset N/A N/A N/A segment_coord_list append N/A G01%sD02*
 text N/A coord N/A segment N/A 1 N/A N/A text N/A N/A self _getGerberisedPoint coord offset N/A N/A N/A segment_coord_list append N/A G01%sD01*
 text N/A N/A N/A coord_list append segment_coord_list N/A coord_list N/A _getGerberisedPoint N/A N/A self coord offset N/A N/A N/A 
        Convert a float to the ridiculous Gerber format 
         N/A coord offset N/A N/A xi xd N/A N/A N/A str N/A %f N/A coord x split . N/A N/A yi yd N/A N/A N/A str N/A %f N/A N/A coord y split . N/A xd N/A N/A xd ljust N/A self _decimals 0 N/A yd N/A N/A yd ljust N/A self _decimals 0 N/A N/A X%s%sY%s%s N/A xi N/A xd N/A N/A self _decimals yi N/A yd N/A N/A self _decimals N/A _createPostamble N/A N/A self N/A N/A N/A 
        This goes at the end of the Gerber
         N/A pa N/A N/A N/A N/A pa append G04 end of program *
 N/A N/A N/A pa append M02*
 N/A pa N/A _createPreamble N/A N/A self N/A N/A N/A N/A pa N/A N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append G04 Greetings!                                           *
 N/A N/A N/A pa append G04 This Gerber was generated by PCBmodE, an open source *
 N/A N/A N/A pa append G04 PCB design software. Get it here:                    *
 N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append G04   http://pcbmode.com                                 *
 N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append G04 Also visit                                           *
 N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append G04   http://boldport.com                                *
 N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append G04 and follow @boldport / @pcbmode for updates!         *
 N/A N/A N/A pa append G04                                                      *
 N/A N/A N/A pa append N/A pa N/A N/A self _getParamCommand N/A FSLAX%d%dY%d%d N/A N/A self _digits N/A self _decimals N/A self _digits N/A self _decimals N/A leading zeros omitted (L); absolute data (A); %s integer digits and %s fractional digits N/A N/A self _digits N/A self _decimals N/A N/A N/A pa append N/A pa N/A N/A self _getParamCommand MOMM mode (MO): millimeters (MM) N/A N/A N/A pa append N/A N/A N/A pa append G04 Aperture definitions *
 N/A N/A N/A pa append N/A %%ADD%dC,%.3fX*%%
 N/A N/A self _closed_shape_aperture_num 0.001 N/A N/A N/A pa append N/A %%ADD%dC,%.3fX*%%
 N/A N/A self _pad_flashes_aperture_num 0.001 N/A aperture N/A self _apertures N/A N/A N/A N/A pa append N/A %%ADD%dC,%.2fX*%%
 N/A N/A N/A self _apertures N/A aperture N/A float aperture N/A N/A N/A pa append N/A pa N/A _getGerberGrammar N/A N/A self N/A N/A N/A 
       Returns the grammar of Gerber
        N/A gerber_dictionary N/A G04 G36 G37 MO AD FS D01 D02 D03 N/A text comment N/A text closed-shape-start N/A text closed-shape-end N/A text MM IN units N/A text mm N/A text inch N/A text C R aperture-definition N/A text circle N/A text rectangle N/A text L A format N/A text leading-zeros N/A text absolute N/A text draw N/A text move N/A text flash N/A space N/A N/A pyp Literal N/A comma N/A N/A N/A N/A pyp Literal , suppress N/A floatnum N/A N/A N/A N/A pyp Regex ([\d\.]+) setParseAction N/A N/A N/A t N/A N/A float N/A t N/A 0 N/A integer N/A N/A N/A N/A pyp Regex (-?\d+) setParseAction N/A N/A N/A t N/A N/A int N/A t N/A 0 N/A single_digit N/A N/A N/A N/A pyp Regex (\d) setParseAction N/A N/A N/A t N/A N/A int N/A t N/A 0 N/A aperture N/A N/A N/A N/A pyp Literal D setParseAction N/A N/A pyp replaceWith aperture N/A coord_x N/A N/A N/A N/A pyp Literal X setParseAction N/A N/A pyp replaceWith x N/A coord_y N/A N/A N/A N/A pyp Literal Y setParseAction N/A N/A pyp replaceWith y N/A gcoord N/A N/A pyp Regex (-?\d+) N/A coord_dict N/A N/A pyp dictOf N/A coord_x coord_y gcoord N/A coord_xy N/A N/A pyp Group N/A coord_dict coord_dict N/A inst_del N/A N/A N/A N/A pyp Literal % suppress N/A inst_end N/A N/A N/A N/A pyp Literal * suppress N/A cmd_comment N/A N/A N/A N/A pyp Literal G04 setParseAction N/A N/A pyp replaceWith comment N/A cmd_closed_shape_start N/A N/A pyp Literal G36 N/A cmd_closed_shape_end N/A N/A pyp Literal G37 N/A cmd_units N/A N/A N/A pyp Literal MO gerber-command N/A cmd_units_opt_mm N/A N/A N/A N/A pyp Literal MM setParseAction N/A N/A pyp replaceWith mm N/A cmd_units_opt_inch N/A N/A N/A N/A pyp Literal IN setParseAction N/A N/A pyp replaceWith inch N/A cmd_format N/A N/A N/A pyp Literal FS gerber-command N/A cmd_format_opt_leading_zeros N/A N/A N/A N/A pyp Literal L setParseAction N/A N/A pyp replaceWith leading N/A cmd_format_opt_trailing_zeros N/A N/A N/A N/A pyp Literal T setParseAction N/A N/A pyp replaceWith trailing N/A cmd_format_opt_absolute N/A N/A N/A N/A pyp Literal A setParseAction N/A N/A pyp replaceWith absolute N/A cmd_format_opt_incremental N/A N/A N/A N/A pyp Literal I setParseAction N/A N/A pyp replaceWith incremental N/A cmd_ap_def N/A N/A N/A pyp Literal AD gerber-command N/A cmd_ap_def_num N/A D N/A N/A integer setResultsName number N/A cmd_ap_def_opt_circ N/A N/A N/A N/A pyp Literal C setParseAction N/A N/A pyp replaceWith circle N/A cmd_ap_def_opt_rect N/A N/A N/A N/A pyp Literal R setParseAction N/A N/A pyp replaceWith rect N/A cmd_polarity N/A N/A N/A pyp Literal LP gerber-command N/A cmd_polarity_opt_dark N/A N/A N/A N/A pyp Literal D setParseAction N/A N/A pyp replaceWith dark N/A cmd_polarity_opt_clear N/A N/A N/A N/A pyp Literal C setParseAction N/A N/A pyp replaceWith clear N/A cmd_linear_int N/A N/A N/A N/A pyp Literal G01 suppress N/A cmd_circ_int_cw N/A N/A N/A N/A pyp Literal G02 suppress N/A cmd_circ_int_ccw N/A N/A N/A N/A pyp Literal G03 suppress N/A aperture_type N/A N/A N/A N/A N/A cmd_ap_def_opt_circ type comma N/A floatnum diameter X N/A N/A N/A N/A N/A cmd_ap_def_opt_rect type comma N/A floatnum width X N/A floatnum height N/A polarity_type N/A N/A cmd_polarity_opt_clear cmd_polarity_opt_dark polarity N/A units_type N/A N/A cmd_units_opt_mm cmd_units_opt_inch units N/A format_zeros N/A N/A cmd_format_opt_leading_zeros zeros N/A cmd_format_opt_trailing_zeros zeros N/A format_notation N/A N/A cmd_format_opt_absolute notation N/A cmd_format_opt_incremental notation N/A format_data N/A N/A single_digit integer N/A single_digit decimal N/A comment N/A N/A N/A N/A N/A N/A cmd_comment N/A N/A pyp Optional space N/A N/A pyp Regex ([^\*]+)? N/A N/A pyp Optional space inst_end suppress N/A units N/A N/A N/A inst_del N/A N/A N/A pyp Group N/A cmd_units units_type units inst_end inst_del N/A gformat N/A N/A N/A inst_del N/A N/A N/A pyp Group N/A N/A N/A N/A N/A N/A cmd_format format_zeros format_notation X N/A N/A N/A pyp Group format_data x Y N/A N/A N/A pyp Group format_data y format inst_end inst_del N/A ap_def N/A N/A N/A inst_del N/A N/A N/A pyp Group N/A N/A cmd_ap_def cmd_ap_def_num aperture_type aperture_definition inst_end inst_del N/A polarity N/A N/A N/A inst_del N/A N/A N/A pyp Group N/A cmd_polarity polarity_type polarity_change inst_end inst_del N/A closed_shape_start N/A N/A cmd_closed_shape_start start_closed_shape inst_end N/A closed_shape_end N/A N/A cmd_closed_shape_end end_closed_shape inst_end N/A draw N/A N/A N/A pyp Group N/A N/A N/A N/A N/A N/A N/A N/A pyp Optional cmd_linear_int X N/A integer x Y N/A integer y N/A N/A N/A N/A pyp Literal D01 suppress inst_end draw N/A move N/A N/A N/A pyp Group N/A N/A N/A N/A N/A N/A N/A N/A pyp Optional cmd_linear_int X N/A integer x Y N/A integer y N/A N/A N/A N/A pyp Literal D02 suppress inst_end move N/A flash N/A N/A N/A pyp Group N/A N/A N/A N/A N/A N/A N/A N/A pyp Optional cmd_linear_int X N/A integer x Y N/A integer y N/A N/A N/A N/A pyp Literal D03 suppress inst_end flash N/A aperture_change N/A N/A N/A N/A N/A pyp Literal D suppress N/A N/A N/A pyp Group N/A N/A integer number inst_end aperture_change N/A the_end N/A N/A N/A N/A pyp Literal M02 inst_end end_of_gerber N/A grammar N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A comment units gformat ap_def aperture_change draw move flash polarity closed_shape_start closed_shape_end the_end N/A N/A N/A pyp OneOrMore N/A N/A pyp Group grammar N/A N/A gerbers_to_svg N/A N/A manufacturer N/A default N/A N/A 
    Takes Gerber files as input and generates an SVG of them
     normalise_gerber_number N/A N/A gerber_number axis form N/A N/A N/A 
        Takes a Gerber number and converts it into a float using
        the formatting defined in the Gerber header
         N/A number N/A gerber_number N/A pow 10.0 N/A N/A form N/A axis N/A decimal N/A number N/A parsed_grammar_to_dict N/A N/A parsed_grammar N/A N/A N/A 
        Converts the Gerber parsing results to an SVG.
         N/A gerber_dict N/A N/A current_aperture None N/A new_shape True N/A line parsed_grammar N/A N/A N/A N/A line dump N/A N/A N/A line format N/A N/A N/A N/A N/A gerber_dict get format None N/A N/A N/A gerber_dict N/A format N/A N/A tmp N/A gerber_dict N/A format N/A N/A tmp N/A notation N/A N/A line N/A format N/A notation N/A N/A tmp N/A zeros N/A N/A line N/A format N/A zeros N/A N/A tmp N/A x N/A N/A N/A N/A tmp N/A x N/A integer N/A N/A N/A line N/A format N/A x N/A integer N/A N/A N/A tmp N/A x N/A decimal N/A N/A N/A line N/A format N/A x N/A decimal N/A N/A tmp N/A y N/A N/A N/A N/A tmp N/A y N/A integer N/A N/A N/A line N/A format N/A x N/A integer N/A N/A N/A tmp N/A y N/A decimal N/A N/A N/A line N/A format N/A x N/A decimal N/A N/A N/A line units N/A N/A N/A gerber_dict N/A units N/A N/A line N/A units N/A units N/A N/A N/A line aperture_definition N/A N/A tmp N/A N/A N/A N/A N/A line N/A aperture_definition N/A type circle N/A N/A N/A tmp N/A type circle N/A N/A tmp N/A diameter N/A N/A line N/A aperture_definition N/A diameter N/A N/A tmp N/A number N/A N/A line N/A aperture_definition N/A number N/A N/A N/A N/A N/A line N/A aperture_definition N/A type rect N/A N/A N/A tmp N/A type rect N/A N/A tmp N/A width N/A N/A line N/A aperture_definition N/A width N/A N/A tmp N/A height N/A N/A line N/A aperture_definition N/A height N/A N/A tmp N/A number N/A N/A line N/A aperture_definition N/A number N/A N/A ERROR: cannot recognise aperture definition type N/A N/A N/A N/A gerber_dict get aperture-definitions None N/A N/A N/A gerber_dict N/A aperture-definitions N/A N/A N/A N/A N/A gerber_dict N/A aperture-definitions append tmp N/A N/A N/A line polarity_change N/A N/A N/A N/A N/A gerber_dict get features None N/A N/A N/A gerber_dict N/A features N/A N/A polarity N/A N/A line N/A polarity_change N/A polarity N/A polarity_dict N/A N/A N/A polarity_dict N/A polarity polarity N/A N/A polarity_dict N/A shapes N/A N/A N/A N/A N/A gerber_dict N/A features append polarity_dict N/A N/A N/A line aperture_change N/A N/A tmp N/A N/A N/A tmp N/A type aperture-change N/A N/A tmp N/A number N/A N/A line aperture_change N/A number N/A N/A N/A N/A N/A N/A gerber_dict N/A features N/A -1 N/A shapes append tmp N/A tmp N/A N/A N/A tmp N/A type stroke N/A N/A tmp N/A segments N/A N/A N/A N/A N/A N/A N/A gerber_dict N/A features N/A -1 N/A shapes append tmp N/A N/A N/A line start_closed_shape N/A N/A tmp N/A N/A N/A tmp N/A type fill N/A N/A tmp N/A segments N/A N/A N/A N/A N/A N/A N/A gerber_dict N/A features N/A -1 N/A shapes append tmp N/A N/A N/A N/A line move N/A line draw N/A line flash N/A N/A N/A line move N/A N/A command_name move N/A item N/A line move N/A N/A line draw N/A N/A command_name draw N/A item N/A line draw N/A N/A line flash N/A N/A command_name flash N/A item N/A line flash N/A point N/A Point N/A normalise_gerber_number N/A item N/A x x N/A gerber_dict N/A format N/A normalise_gerber_number N/A item N/A y y N/A gerber_dict N/A format N/A tmp N/A N/A N/A tmp N/A type command_name N/A N/A tmp N/A coord point N/A N/A N/A N/A N/A N/A N/A N/A gerber_dict N/A features N/A -1 N/A shapes N/A -1 N/A segments append tmp N/A N/A N/A line end_closed_shape N/A N/A new_shape True N/A gerber_dict N/A create_gerber_svg_data N/A N/A gerber_data N/A N/A N/A 
        Returns an SVG element of the input Gerber data
         N/A gerber_data_parsed N/A N/A gerber_grammar parseString gerber_data N/A gerber_data_dict N/A parsed_grammar_to_dict gerber_data_parsed N/A gerber_data_svg N/A N/A svg generate_svg_from_gerber_dict gerber_data_dict N/A gerber_data_svg N/A N/A board_shape_gerber_lp None N/A shape N/A N/A N/A config brd N/A board_outline N/A shape N/A board_shape_type N/A N/A shape get type N/A N/A board_shape_type N/A rect rectangle N/A N/A offset N/A N/A utils to_Point N/A N/A N/A shape get offset N/A 0 0 N/A board_shape_path N/A N/A svg rect_to_path shape N/A N/A N/A board_shape_type path N/A N/A board_shape_path N/A N/A shape get value N/A board_shape_gerber_lp N/A N/A shape get gerber_lp N/A N/A board_shape_path None N/A N/A ERROR: couldn't find a path under key 'value' for board outline N/A N/A N/A ERROR: unrecognised board shape type: %s. Possible options are 'rect' or 'path' board_shape_type N/A board_shape_path_relative N/A N/A svg absolute_to_relative_path board_shape_path N/A N/A board_width board_height board_outline N/A N/A svg transform_path board_shape_path_relative True N/A display_width board_width N/A display_height board_height N/A sig_dig N/A N/A config cfg N/A significant-digits N/A display_frame_buffer N/A N/A N/A N/A config cfg get display-frame-buffer 1.0 N/A gerber N/A N/A et Element svg width N/A N/A str display_width N/A N/A N/A config brd N/A config N/A units height N/A N/A str display_height N/A N/A N/A config brd N/A config N/A units viewBox N/A N/A N/A N/A N/A N/A N/A str N/A N/A display_frame_buffer 2 N/A str N/A N/A display_frame_buffer 2 N/A str N/A board_width display_frame_buffer N/A str N/A board_height display_frame_buffer version 1.1 nsmap N/A cfg N/A namespace fill black N/A doc N/A N/A et ElementTree gerber N/A gerber_layers N/A N/A svg create_layers_for_gerber_svg gerber N/A production_path N/A N/A N/A os path join N/A N/A config cfg N/A base-dir N/A N/A N/A config cfg N/A locations N/A build production N/A pcbmode_version N/A N/A config cfg N/A version N/A board_name N/A N/A config cfg N/A name N/A board_revision N/A N/A N/A N/A config brd N/A config get rev N/A base_name N/A %s_rev_%s N/A board_name board_revision N/A gerber_grammar N/A gerber_grammar_generator N/A foil N/A outline N/A N/A gerber_file N/A N/A N/A os path join production_path N/A base_name N/A _%s.ger foil N/A gerber_data N/A N/A N/A open gerber_file r read N/A gerber_svg N/A create_gerber_svg_data gerber_data N/A gerber_svg_layer N/A N/A gerber_layers N/A foil N/A layer N/A N/A N/A gerber_svg_layer append gerber_svg N/A foil N/A pcb_layer N/A N/A config stk N/A layer-names N/A N/A foil N/A conductor silkscreen soldermask N/A N/A gerber_file N/A N/A N/A os path join production_path N/A base_name N/A _%s_%s.ger N/A pcb_layer foil N/A gerber_data N/A N/A N/A open gerber_file r read N/A gerber_svg N/A create_gerber_svg_data gerber_data N/A gerber_svg_layer N/A N/A N/A gerber_layers N/A pcb_layer N/A foil N/A layer N/A N/A N/A gerber_svg_layer append gerber_svg N/A foil N/A output_file N/A N/A N/A os path join N/A N/A config cfg N/A base-dir N/A N/A N/A config cfg N/A locations N/A build N/A N/A cfg N/A board_name _gerber.svg N/A N/A N/A f N/A open output_file wb N/A N/A N/A IOError N/A e N/A N/A N/A N/A I/O error({0}): {1} format N/A e errno N/A e strerror N/A N/A N/A f write N/A N/A et tostring doc pretty_print True N/A N/A N/A f close N/A N/A