Module Expr Str ImportFrom alias identifier Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body While CompareLt NameLoad NameLoad body Expr Yield NameLoad AugAssignAdd NameStore Num decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad NameLoad NameLoad orelse If BoolOpAnd CompareIs Call NameLoad NameLoad NameLoad CompareIn NameLoad NameLoad body AugAssignAdd NameStore TupleLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assert BoolOpAnd CompareEq NameLoad Str CompareIs NameLoad NameLoad If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad BinOpPow Num NameLoad body Raise Call NameLoad Return Call NameLoad Call AttributeLoad BinOpMod Str TupleLoad BinOpMult NameLoad Num NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assert BoolOpAnd CompareEq NameLoad Str CompareIs NameLoad NameLoad Return Call NameLoad Call AttributeLoad Call NameLoad Call NameLoad NameLoad attr Str Num decorator_list If Call NameLoad NameLoad Str body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr orelse Assign NameStore Lambda arguments args NameParam defaults BinOpSub Call NameLoad Call NameLoad Call NameLoad NameLoad Num Expr Str Assign NameStore Str Import alias Assign NameStore Num Assign NameStore Num ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad Num Str handlers ExceptHandler body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad Num Str handlers ExceptHandler body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body If CompareEq AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Break Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Num body Return NameLoad For NameStore Call NameLoad NameLoad body If BinOpBitAnd BinOpRShift NameLoad NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Raise Call NameLoad Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While CompareLtE NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad BinOpSub Call NameLoad BinOpAdd BinOpSub NameLoad NameLoad Num Num Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad BinOpSub NameLoad NameLoad Expr Yield NameLoad AugAssignAdd NameStore BinOpLShift Num NameLoad If CompareEq BinOpSub NameLoad Num AttributeLoad NameLoad attr body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareEq NameLoad SubscriptLoad Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Num body Assign SubscriptStore NameLoad Index Num NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body If BoolOpAnd NameLoad CompareNotEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd NameLoad CompareNotEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad CompareNotEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad While CompareLt NameLoad Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return Call NameLoad Call NameLoad Call NameLoad BinOpAdd NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareIs NameLoad NameLoad UnaryOpNot NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return UnaryOpNot BoolOpOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return UnaryOpNot NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareLt NameLoad Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpBitXor AttributeLoad NameLoad attr BinOpRShift AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpRShift NameLoad NameLoad Assign NameStore BinOpSub BinOpLShift Num NameLoad Num If CompareNotEq NameLoad NameLoad body Assign NameStore BinOpFloorDiv AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot CompareLtELtE Num NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass AugAssignBitXor NameStore AttributeLoad NameLoad attr TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd UnaryOpNot Call NameLoad NameLoad NameLoad CompareIn Str Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad BinOpAdd NameLoad Num NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGtE NameLoad Num body If CompareGt BinOpAdd NameLoad NameLoad NameLoad body Raise NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad orelse AugAssignAdd NameStore Num If CompareLt BinOpAdd NameLoad NameLoad NameLoad body Raise NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitXor Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return CompareLtELtE Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr CompareIn AttributeLoad NameLoad attr NameLoad BoolOpOr CompareIn AttributeLoad NameLoad attr NameLoad BoolOpOr CompareIn AttributeLoad NameLoad attr NameLoad CompareIn AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpBitOr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpBitXor Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BinOpAdd BinOpSub Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot BoolOpAnd CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr While BoolOpAnd CompareNotEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body If BoolOpAnd CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr orelse If BoolOpAnd CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Expr Yield NameLoad orelse If CompareEq NameLoad NameLoad body Expr Yield NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad Return If CompareIsNot NameLoad NameLoad body If CompareLt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotEq NameLoad Num body Raise Call NameLoad Str Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If CompareLt NameLoad Num body Raise Call NameLoad Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad Assign NameStore NameLoad While NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad If CompareIsNot NameLoad NameLoad body If CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotEq NameLoad Num body Raise Call NameLoad Str Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad If CompareLt BinOpSub AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore BinOpSub BinOpPow Num NameLoad Num Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad TupleLoad Num Num Num Num Num Num Num Num Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad TryExcept body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num If BoolOpAnd CompareGt NameLoad Num CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad If CompareGt NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call NameLoad NameLoad Call NameLoad NameLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body TryExcept body For NameStore NameLoad body If CompareNotIn Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd CompareGt NameLoad Num CompareGt NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num body Return NameLoad Return NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return CompareLtELtE Num NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad NameLoad CompareIn NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad If CompareLt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Str Slice Num Return BinOpAdd Call AttributeLoad Str attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Return Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareEq NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpBitXor BinOpBitXor AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareEq Call NameLoad NameLoad Num body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If CompareNotEq Call NameLoad BinOpBitAnd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpBitAnd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd UnaryOpNot BoolOpAnd CompareIn AttributeLoad NameLoad attr Call NameLoad Str CompareIn AttributeLoad NameLoad attr Call NameLoad Str UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore BinOpSub BinOpPow Num NameLoad Num Assign NameStore Num Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num If CompareLt Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad If CompareIn Str SubscriptLoad NameLoad Index Num body TryExcept body Assign NameStore AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpBitAnd BinOpRShift NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpBitAnd NameLoad Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad BinOpSub NameLoad Num NameLoad Raise Call NameLoad NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num body If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Raise Call NameLoad NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BinOpSub BinOpSub Call NameLoad NameLoad NameLoad Num If UnaryOpNot SubscriptLoad NameLoad Index Num body AugAssignSub NameStore Num If NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body AugAssignSub NameStore Num If NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Assign NameStore BinOpSub AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad If CompareLt NameLoad Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad BinOpSub AttributeLoad NameLoad attr Num NameLoad orelse If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num Assign NameStore Num TryExcept body Assign NameStore Num For NameStore Call NameLoad NameLoad body AugAssignLShift NameStore Num AugAssignBitOr NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AugAssignLShift NameStore BinOpMult Num NameLoad For NameStore Call NameLoad UnaryOpUSub NameLoad Num body AugAssignLShift NameStore Num AugAssignBitOr NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Return Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body AugAssignAdd NameStore Num If CompareEq NameLoad Num body Assign NameStore NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore Num Assign NameStore Num If CompareGt NameLoad Num body Assign NameStore BinOpAdd NameLoad NameLoad If CompareEq NameLoad Call NameLoad NameLoad body AugAssignAdd NameStore ListLoad Str Assign SubscriptStore NameLoad Slice NameLoad NameLoad ListLoad Str If CompareEq NameLoad Num body Assign NameStore BinOpAdd ListLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore BinOpMod Str NameLoad Assign NameStore ListComp BinOpMod Str Call NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Num comprehension NameStore Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Num Num If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num attr Str Str Return BinOpAdd Call AttributeLoad Str attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Return Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Return Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return CompareIn NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str CompareIn NameLoad Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq BinOpRShift AttributeLoad NameLoad attr Num Num body Return NameLoad Return Call NameLoad BinOpBitAnd AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq BinOpRShift AttributeLoad NameLoad attr Num Num body Return NameLoad Return TupleLoad Call NameLoad BinOpBitAnd BinOpRShift AttributeLoad NameLoad attr Num Num Call NameLoad BinOpBitAnd UnaryOpInvert AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq BinOpRShift AttributeLoad NameLoad attr Num Num body Return NameLoad Return Call NameLoad BinOpBitAnd BinOpRShift AttributeLoad NameLoad attr Num Num decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpBitXor BinOpBitXor AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareEq Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If CompareNotEq Call NameLoad BinOpBitAnd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpBitAnd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Num BinOpAdd BinOpSub NameLoad NameLoad Num body Expr Yield Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list
N/A N/A 
Python 2.[67] port of Python 3.4's ipaddress module

Almost verbatim copy of the core lib, with compatibility changes
Source: https://bitbucket.org/kwi/py2-ipaddress/
 itertools imap map N/A range xrange long_range N/A N/A start end N/A N/A N/A N/A start end N/A N/A N/A start N/A start 1 N/A N/A bytes bytearray N/A _builtin_isinstance isinstance isinstance N/A N/A val types N/A N/A N/A N/A types int N/A N/A types N/A int long N/A N/A N/A N/A N/A type types tuple N/A int types N/A N/A types N/A long N/A N/A _builtin_isinstance val types N/A _int_to_bytes N/A N/A self length byteorder signed N/A False N/A N/A N/A N/A byteorder big N/A signed False N/A N/A N/A self 0 N/A self N/A 256 length N/A N/A N/A OverflowError N/A N/A bytearray N/A N/A N/A %0*x N/A N/A length 2 self decode hex N/A _int_from_bytes N/A N/A what byteorder signed N/A False N/A N/A N/A N/A byteorder big N/A signed False N/A N/A int N/A N/A N/A str N/A bytearray what encode hex 16 N/A N/A N/A hasattr int bit_length N/A N/A _int_bit_length N/A N/A N/A i N/A N/A N/A i bit_length N/A N/A _int_bit_length N/A N/A N/A i N/A N/A N/A len N/A bin N/A abs i 2 N/A A fast, lightweight IPv4/IPv6 manipulation library in Python.

This library is used to create/poke/manipulate IPv4 and IPv6 addresses
and networks.

 N/A __version__ 1.0 N/A functools N/A IPV4LENGTH 32 N/A IPV6LENGTH 128 AddressValueError N/A ValueError N/A N/A A Value Error related to the address. N/A NetmaskValueError N/A ValueError N/A N/A A Value Error related to the netmask. N/A ip_address N/A N/A address N/A N/A N/A Take an IP string/int and return an object of the correct type.

    Args:
        address: A string or integer, the IP address.  Either IPv4 or
          IPv6 addresses may be supplied; integers less than 2**32 will
          be considered to be IPv4 by default.

    Returns:
        An IPv4Address or IPv6Address object.

    Raises:
        ValueError: if the *address* passed isn't either a v4 or a v6
          address

     N/A N/A N/A N/A IPv4Address address N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A N/A N/A IPv6Address address N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A ValueError N/A %r does not appear to be an IPv4 or IPv6 address address N/A ip_network N/A N/A address strict N/A True N/A N/A Take an IP string/int and return an object of the correct type.

    Args:
        address: A string or integer, the IP network.  Either IPv4 or
          IPv6 networks may be supplied; integers less than 2**32 will
          be considered to be IPv4 by default.

    Returns:
        An IPv4Network or IPv6Network object.

    Raises:
        ValueError: if the string passed isn't either a v4 or a v6
          address. Or if the network has host bits set.

     N/A N/A N/A N/A IPv4Network address strict N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A N/A N/A IPv6Network address strict N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A ValueError N/A %r does not appear to be an IPv4 or IPv6 network address N/A ip_interface N/A N/A address N/A N/A N/A Take an IP string/int and return an object of the correct type.

    Args:
        address: A string or integer, the IP address.  Either IPv4 or
          IPv6 addresses may be supplied; integers less than 2**32 will
          be considered to be IPv4 by default.

    Returns:
        An IPv4Interface or IPv6Interface object.

    Raises:
        ValueError: if the string passed isn't either a v4 or a v6
          address.

    Notes:
        The IPv?Interface classes describe an Address on a particular
        Network, so they're basically a combination of both the Address
        and Network classes.

     N/A N/A N/A N/A IPv4Interface address N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A N/A N/A IPv6Interface address N/A N/A N/A N/A AddressValueError NetmaskValueError N/A N/A N/A N/A ValueError N/A %r does not appear to be an IPv4 or IPv6 interface address N/A v4_int_to_packed N/A N/A address N/A N/A N/A Represent an address as 4 packed bytes in network (big-endian) order.

    Args:
        address: An integer representation of an IPv4 IP address.

    Returns:
        The integer address packed as 4 bytes in network (big-endian) order.

    Raises:
        ValueError: If the integer is negative or too large to be an
          IPv4 IP address.

     N/A N/A N/A N/A _int_to_bytes address 4 big N/A N/A N/A N/A N/A ValueError Address negative or too large for IPv4 N/A v6_int_to_packed N/A N/A address N/A N/A N/A Represent an address as 16 packed bytes in network (big-endian) order.

    Args:
        address: An integer representation of an IPv6 IP address.

    Returns:
        The integer address packed as 16 bytes in network (big-endian) order.

     N/A N/A N/A N/A _int_to_bytes address 16 big N/A N/A N/A N/A N/A ValueError Address negative or too large for IPv6 N/A _split_optional_netmask N/A N/A address N/A N/A N/A Helper to split the netmask and raise AddressValueError if needed N/A addr N/A N/A N/A str address split / N/A N/A N/A len addr 2 N/A N/A N/A AddressValueError N/A Only one '/' permitted in %r address N/A addr N/A _find_address_range N/A N/A addresses N/A N/A N/A Find a sequence of IPv#Address.

    Args:
        addresses: a list of IPv#Address objects.

    Returns:
        A tuple containing the first and last IP addresses in the sequence.

     N/A first last N/A addresses N/A 0 N/A ip N/A addresses N/A 1 N/A N/A N/A N/A ip _ip N/A N/A last _ip 1 N/A N/A last ip N/A N/A N/A N/A first last N/A _count_righthand_zero_bits N/A N/A number bits N/A N/A N/A Count the number of zero bits on the right hand side.

    Args:
        number: an integer.
        bits: maximum number of bits to count.

    Returns:
        The number of zero bits on the right hand side of the number.

     N/A N/A number 0 N/A N/A bits N/A i N/A range bits N/A N/A N/A N/A number i 1 N/A N/A i N/A bits N/A summarize_address_range N/A N/A first last N/A N/A N/A Summarize a network range given the first and last IP addresses.

    Example:
        >>> list(summarize_address_range(IPv4Address('192.0.2.0'),
        ...                              IPv4Address('192.0.2.130')))
        ...                                #doctest: +NORMALIZE_WHITESPACE
        [IPv4Network('192.0.2.0/25'), IPv4Network('192.0.2.128/31'),
         IPv4Network('192.0.2.130/32')]

    Args:
        first: the first IPv4Address or IPv6Address in the range.
        last: the last IPv4Address or IPv6Address in the range.

    Returns:
        An iterator of the summarized IPv(4|6) network objects.

    Raise:
        TypeError:
            If the first and last objects are not IP addresses.
            If the first and last objects are not the same version.
        ValueError:
            If the last object is not greater than the first.
            If the version of the first address is not 4 or 6.

     N/A N/A N/A N/A isinstance first _BaseAddress N/A isinstance last _BaseAddress N/A N/A N/A TypeError first and last must be IP addresses, not networks N/A N/A N/A first version N/A last version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A first last N/A N/A first last N/A N/A N/A ValueError last IP address must be greater than first N/A N/A N/A first version 4 N/A N/A ip IPv4Network N/A N/A N/A N/A first version 6 N/A N/A ip IPv6Network N/A N/A N/A ValueError unknown IP version N/A ip_bits N/A first _max_prefixlen N/A first_int N/A first _ip N/A last_int N/A last _ip N/A N/A first_int last_int N/A N/A nbits N/A min N/A _count_righthand_zero_bits first_int ip_bits N/A N/A _int_bit_length N/A N/A last_int first_int 1 1 N/A net N/A ip N/A %s/%d N/A first N/A ip_bits nbits N/A N/A net N/A first_int N/A 1 nbits N/A N/A N/A first_int 1 N/A ip _ALL_ONES N/A N/A N/A first N/A N/A first __class__ first_int N/A _collapse_addresses_recursive N/A N/A addresses N/A N/A N/A Loops through the addresses, collapsing concurrent netblocks.

    Example:

        ip1 = IPv4Network('192.0.2.0/26')
        ip2 = IPv4Network('192.0.2.64/26')
        ip3 = IPv4Network('192.0.2.128/26')
        ip4 = IPv4Network('192.0.2.192/26')

        _collapse_addresses_recursive([ip1, ip2, ip3, ip4]) ->
          [IPv4Network('192.0.2.0/24')]

        This shouldn't be called directly; it is called via
          collapse_addresses([]).

    Args:
        addresses: A list of IPv4Network's or IPv6Network's

    Returns:
        A list of IPv4Network's or IPv6Network's depending on what we were
        passed.

     N/A True N/A N/A last_addr None N/A ret_array N/A N/A optimized False N/A cur_addr addresses N/A N/A N/A ret_array N/A N/A last_addr cur_addr N/A N/A N/A ret_array append cur_addr N/A N/A N/A N/A N/A cur_addr network_address N/A last_addr network_address N/A N/A cur_addr broadcast_address N/A last_addr broadcast_address N/A N/A optimized True N/A N/A N/A cur_addr N/A N/A list N/A N/A N/A N/A last_addr supernet subnets N/A 1 N/A N/A N/A ret_array N/A -1 last_addr N/A N/A last_addr supernet N/A optimized True N/A N/A last_addr cur_addr N/A N/A N/A ret_array append cur_addr N/A addresses ret_array N/A N/A optimized N/A N/A addresses N/A collapse_addresses N/A N/A addresses N/A N/A N/A Collapse a list of IP objects.

    Example:
        collapse_addresses([IPv4Network('192.0.2.0/25'),
                            IPv4Network('192.0.2.128/25')]) ->
                           [IPv4Network('192.0.2.0/24')]

    Args:
        addresses: An iterator of IPv4Network or IPv6Network objects.

    Returns:
        An iterator of the collapsed IPv(4|6)Network objects.

    Raises:
        TypeError: If passed a list of mixed version objects.

     N/A i 0 N/A addrs N/A N/A ips N/A N/A nets N/A N/A ip addresses N/A N/A N/A isinstance ip _BaseAddress N/A N/A N/A ips N/A N/A N/A ips N/A -1 _version N/A ip _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A ip N/A ips N/A -1 N/A N/A N/A ips append ip N/A N/A N/A N/A ip _prefixlen N/A ip _max_prefixlen N/A N/A N/A ips N/A N/A N/A ips N/A -1 _version N/A ip _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A ip N/A ips N/A -1 N/A N/A N/A N/A N/A ips append N/A ip ip N/A N/A N/A AttributeError N/A N/A N/A N/A ips append N/A ip network_address N/A N/A N/A nets N/A N/A N/A nets N/A -1 _version N/A ip _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A ip N/A nets N/A -1 N/A N/A N/A nets append ip N/A ips N/A sorted N/A set ips N/A nets N/A sorted N/A set nets N/A N/A i N/A len ips N/A N/A N/A first last N/A _find_address_range N/A ips N/A i N/A i N/A N/A N/A ips index last 1 N/A N/A N/A addrs extend N/A summarize_address_range first last N/A N/A iter N/A _collapse_addresses_recursive N/A sorted N/A addrs nets key N/A _BaseNetwork _get_networks_key N/A get_mixed_type_key N/A N/A obj N/A N/A N/A Return a key suitable for sorting between networks and addresses.

    Address and Network objects are not sortable by default; they're
    fundamentally different so the expression

        IPv4Address('192.0.2.0') <= IPv4Network('192.0.2.0/24')

    doesn't make any sense.  There are some times however, where you may wish
    to have ipaddress sort these for you anyway. If you need to do this, you
    can use this function as the key= argument to sorted().

    Args:
      obj: either a Network or Address object.
    Returns:
      appropriate key.

     N/A N/A isinstance obj _BaseNetwork N/A N/A N/A N/A obj _get_networks_key N/A N/A N/A isinstance obj _BaseAddress N/A N/A N/A N/A obj _get_address_key N/A NotImplemented N/A _TotalOrderingMixin N/A object N/A __eq__ N/A N/A self other N/A N/A N/A NotImplementedError N/A __ne__ N/A N/A self other N/A N/A N/A equal N/A N/A self __eq__ other N/A N/A equal NotImplemented N/A N/A NotImplemented N/A N/A equal N/A __lt__ N/A N/A self other N/A N/A N/A NotImplementedError N/A __le__ N/A N/A self other N/A N/A N/A less N/A N/A self __lt__ other N/A N/A N/A less NotImplemented N/A less N/A N/A N/A N/A self __eq__ other N/A less N/A __gt__ N/A N/A self other N/A N/A N/A less N/A N/A self __lt__ other N/A N/A less NotImplemented N/A N/A NotImplemented N/A equal N/A N/A self __eq__ other N/A N/A equal NotImplemented N/A N/A NotImplemented N/A N/A N/A less equal N/A __ge__ N/A N/A self other N/A N/A N/A less N/A N/A self __lt__ other N/A N/A less NotImplemented N/A N/A NotImplemented N/A N/A less N/A N/A _IPAddressBase N/A _TotalOrderingMixin N/A N/A The mother class. exploded N/A N/A self N/A N/A N/A Return the longhand version of the IP address as a string. N/A N/A N/A self _explode_shorthand_ip_string N/A property compressed N/A N/A self N/A N/A N/A Return the shorthand version of the IP address as a string. N/A N/A str self N/A property reverse_pointer N/A N/A self N/A N/A N/A The name of the reverse DNS pointer for the IP address, e.g.:
            >>> ipaddress.ip_address("127.0.0.1").reverse_pointer
            '1.0.0.127.in-addr.arpa'
            >>> ipaddress.ip_address("2001:db8::1").reverse_pointer
            '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa'

         N/A N/A N/A self _reverse_pointer N/A property version N/A N/A self N/A N/A N/A msg N/A %200s has no version specified N/A N/A type self N/A N/A NotImplementedError msg N/A property _check_int_address N/A N/A self address N/A N/A N/A N/A address 0 N/A N/A msg %d (< 0) is not permitted as an IPv%d address N/A N/A AddressValueError N/A msg N/A address N/A self _version N/A N/A address N/A self _ALL_ONES N/A N/A msg %d (>= 2**%d) is not permitted as an IPv%d address N/A N/A AddressValueError N/A msg N/A address N/A self _max_prefixlen N/A self _version N/A _check_packed_address N/A N/A self address expected_len N/A N/A N/A address_len N/A len address N/A N/A address_len expected_len N/A N/A msg %r (len %d != %d) is not permitted as an IPv%d address N/A N/A AddressValueError N/A msg N/A address address_len expected_len N/A self _version N/A _ip_int_from_prefix N/A N/A self prefixlen N/A N/A N/A Turn the prefix length into a bitwise netmask

        Args:
            prefixlen: An integer, the prefix length.

        Returns:
            An integer.

         N/A N/A N/A self _ALL_ONES N/A N/A self _ALL_ONES prefixlen N/A _prefix_from_ip_int N/A N/A self ip_int N/A N/A N/A Return prefix length from the bitwise netmask.

        Args:
            ip_int: An integer, the netmask in expanded bitwise format

        Returns:
            An integer, the prefix length.

        Raises:
            ValueError: If the input intermingles zeroes & ones
         N/A trailing_zeroes N/A _count_righthand_zero_bits ip_int N/A self _max_prefixlen N/A prefixlen N/A N/A self _max_prefixlen trailing_zeroes N/A leading_ones N/A ip_int trailing_zeroes N/A all_ones N/A N/A 1 prefixlen 1 N/A N/A leading_ones all_ones N/A N/A byteslen N/A N/A self _max_prefixlen 8 N/A details N/A _int_to_bytes ip_int byteslen big N/A msg Netmask pattern %r mixes zeroes & ones N/A N/A ValueError N/A msg details N/A prefixlen N/A _report_invalid_netmask N/A N/A self netmask_str N/A N/A N/A msg N/A %r is not a valid netmask netmask_str N/A N/A NetmaskValueError msg N/A _prefix_from_prefix_string N/A N/A self prefixlen_str N/A N/A N/A Return prefix length from a numeric string

        Args:
            prefixlen_str: The string to be converted

        Returns:
            An integer, the prefix length.

        Raises:
            NetmaskValueError: If the input is not a valid netmask
         N/A N/A N/A N/A N/A _BaseV4 _DECIMAL_DIGITS issuperset prefixlen_str N/A N/A N/A N/A self _report_invalid_netmask prefixlen_str N/A N/A N/A prefixlen N/A int prefixlen_str N/A N/A N/A ValueError N/A N/A N/A N/A self _report_invalid_netmask prefixlen_str N/A N/A N/A 0 prefixlen N/A self _max_prefixlen N/A N/A N/A N/A self _report_invalid_netmask prefixlen_str N/A prefixlen N/A _prefix_from_ip_string N/A N/A self ip_str N/A N/A N/A Turn a netmask/hostmask string into a prefix length

        Args:
            ip_str: The netmask/hostmask to be converted

        Returns:
            An integer, the prefix length.

        Raises:
            NetmaskValueError: If the input is not a valid netmask/hostmask
         N/A N/A N/A ip_int N/A N/A self _ip_int_from_string ip_str N/A N/A N/A AddressValueError N/A N/A N/A N/A self _report_invalid_netmask ip_str N/A N/A N/A N/A N/A self _prefix_from_ip_int ip_int N/A N/A N/A ValueError N/A N/A N/A ip_int N/A self _ALL_ONES N/A N/A N/A N/A N/A self _prefix_from_ip_int ip_int N/A N/A N/A ValueError N/A N/A N/A N/A self _report_invalid_netmask ip_str N/A N/A _BaseAddress N/A _IPAddressBase N/A N/A A generic IP object.

    This IP class contains the version independent methods which are
    used by single IP addresses.
     __init__ N/A N/A self address N/A N/A N/A N/A N/A N/A isinstance address bytes N/A / N/A str address N/A N/A N/A AddressValueError N/A Unexpected '/' in %r address N/A __int__ N/A N/A self N/A N/A N/A N/A self _ip N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A N/A N/A self _ip N/A other _ip N/A N/A self _version N/A other _version N/A N/A N/A AttributeError N/A N/A NotImplemented N/A __lt__ N/A N/A self other N/A N/A N/A N/A N/A self _version N/A other _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A self other N/A N/A N/A isinstance other _BaseAddress N/A N/A N/A TypeError N/A %s and %s are not of the same type N/A self other N/A N/A N/A self _ip N/A other _ip N/A N/A N/A N/A self _ip N/A other _ip N/A False N/A __add__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other int N/A N/A NotImplemented N/A N/A N/A self __class__ N/A N/A int self other N/A __sub__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other int N/A N/A NotImplemented N/A N/A N/A self __class__ N/A N/A int self other N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A str self N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A N/A self _string_from_ip_int N/A self _ip N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A hex N/A int N/A self _ip N/A _get_address_key N/A N/A self N/A N/A N/A N/A N/A self _version self N/A N/A _BaseNetwork N/A _IPAddressBase N/A N/A A generic IP network object.

    This IP class contains the version independent methods which are
    used by networks.

     __init__ N/A N/A self address N/A N/A N/A N/A self _cache N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A str self N/A __str__ N/A N/A self N/A N/A N/A N/A %s/%d N/A N/A self network_address N/A self prefixlen N/A hosts N/A N/A self N/A N/A N/A Generate Iterator over usable hosts in a network.

        This is like __iter__ except it doesn't return the network
        or broadcast addresses.

         N/A network N/A int N/A self network_address N/A broadcast N/A int N/A self broadcast_address N/A x N/A long_range N/A network 1 broadcast N/A N/A N/A N/A N/A self _address_class x N/A __iter__ N/A N/A self N/A N/A N/A network N/A int N/A self network_address N/A broadcast N/A int N/A self broadcast_address N/A x N/A long_range network N/A broadcast 1 N/A N/A N/A N/A N/A self _address_class x N/A __getitem__ N/A N/A self n N/A N/A N/A network N/A int N/A self network_address N/A broadcast N/A int N/A self broadcast_address N/A N/A n 0 N/A N/A N/A N/A network n broadcast N/A N/A IndexError N/A N/A N/A self _address_class N/A network n N/A N/A n 1 N/A N/A N/A broadcast n network N/A N/A IndexError N/A N/A N/A self _address_class N/A broadcast n N/A __lt__ N/A N/A self other N/A N/A N/A N/A N/A self _version N/A other _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A self other N/A N/A N/A isinstance other _BaseNetwork N/A N/A N/A TypeError N/A %s and %s are not of the same type N/A self other N/A N/A N/A self network_address N/A other network_address N/A N/A N/A N/A self network_address N/A other network_address N/A N/A N/A self netmask N/A other netmask N/A N/A N/A N/A self netmask N/A other netmask N/A False N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A N/A N/A self _version N/A other _version N/A N/A self network_address N/A other network_address N/A N/A int N/A self netmask N/A int N/A other netmask N/A N/A N/A AttributeError N/A N/A NotImplemented N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A N/A int N/A self network_address N/A int N/A self netmask N/A __contains__ N/A N/A self other N/A N/A N/A N/A N/A self _version N/A other _version N/A N/A False N/A N/A isinstance other _BaseNetwork N/A N/A False N/A N/A N/A N/A int N/A self network_address N/A int N/A other _ip N/A int N/A self broadcast_address N/A overlaps N/A N/A self other N/A N/A N/A Tell if self is partly contained in other. N/A N/A N/A N/A self network_address other N/A N/A N/A self broadcast_address other N/A N/A N/A other network_address self N/A N/A other broadcast_address self N/A broadcast_address N/A N/A self N/A N/A N/A x N/A N/A N/A self _cache get broadcast_address N/A N/A x None N/A N/A x N/A N/A self _address_class N/A N/A int N/A self network_address N/A int N/A self hostmask N/A N/A N/A self _cache N/A broadcast_address x N/A x N/A property hostmask N/A N/A self N/A N/A N/A x N/A N/A N/A self _cache get hostmask N/A N/A x None N/A N/A x N/A N/A self _address_class N/A N/A int N/A self netmask N/A self _ALL_ONES N/A N/A N/A self _cache N/A hostmask x N/A x N/A property with_prefixlen N/A N/A self N/A N/A N/A N/A %s/%d N/A N/A self network_address N/A self _prefixlen N/A property with_netmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A self network_address N/A self netmask N/A property with_hostmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A self network_address N/A self hostmask N/A property num_addresses N/A N/A self N/A N/A N/A Number of hosts in the current subnet. N/A N/A N/A N/A int N/A self broadcast_address N/A int N/A self network_address 1 N/A property _address_class N/A N/A self N/A N/A N/A msg N/A %200s has no associated address class N/A N/A type self N/A N/A NotImplementedError msg N/A property prefixlen N/A N/A self N/A N/A N/A N/A self _prefixlen N/A property address_exclude N/A N/A self other N/A N/A N/A Remove an address from a larger block.

        For example:

            addr1 = ip_network('192.0.2.0/28')
            addr2 = ip_network('192.0.2.1/32')
            addr1.address_exclude(addr2) =
                [IPv4Network('192.0.2.0/32'), IPv4Network('192.0.2.2/31'),
                IPv4Network('192.0.2.4/30'), IPv4Network('192.0.2.8/29')]

        or IPv6:

            addr1 = ip_network('2001:db8::1/32')
            addr2 = ip_network('2001:db8::1/128')
            addr1.address_exclude(addr2) =
                [ip_network('2001:db8::1/128'),
                ip_network('2001:db8::2/127'),
                ip_network('2001:db8::4/126'),
                ip_network('2001:db8::8/125'),
                ...
                ip_network('2001:db8:8000::/33')]

        Args:
            other: An IPv4Network or IPv6Network object of the same type.

        Returns:
            An iterator of the IPv(4|6)Network objects which is self
            minus other.

        Raises:
            TypeError: If self and other are of differing address
              versions, or if other is not a network object.
            ValueError: If other is not completely contained by self.

         N/A N/A N/A N/A self _version N/A other _version N/A N/A N/A TypeError N/A %s and %s are not of the same version N/A self other N/A N/A N/A isinstance other _BaseNetwork N/A N/A N/A TypeError N/A %s is not a network object other N/A N/A N/A N/A N/A other network_address N/A self network_address N/A N/A other broadcast_address N/A self broadcast_address N/A N/A N/A ValueError N/A %s not contained in %s N/A other self N/A N/A other self N/A N/A StopIteration N/A other N/A N/A other __class__ N/A %s/%s N/A N/A other network_address N/A other prefixlen N/A N/A s1 s2 N/A N/A self subnets N/A N/A N/A s1 other N/A s2 other N/A N/A N/A N/A N/A other network_address N/A s1 network_address N/A N/A other broadcast_address N/A s1 broadcast_address N/A N/A N/A s2 N/A N/A s1 s2 N/A N/A s1 subnets N/A N/A N/A N/A N/A other network_address N/A s2 network_address N/A N/A other broadcast_address N/A s2 broadcast_address N/A N/A N/A s1 N/A N/A s1 s2 N/A N/A s2 subnets N/A N/A N/A AssertionError N/A Error performing exclusion: s1: %s s2: %s other: %s N/A s1 s2 other N/A N/A s1 other N/A N/A N/A s2 N/A N/A N/A s2 other N/A N/A N/A s1 N/A N/A N/A AssertionError N/A Error performing exclusion: s1: %s s2: %s other: %s N/A s1 s2 other N/A compare_networks N/A N/A self other N/A N/A N/A Compare two IP objects.

        This is only concerned about the comparison of the integer
        representation of the network addresses.  This means that the
        host bits aren't considered at all in this method.  If you want
        to compare host bits, you can easily enough do a
        'HostA._ip < HostB._ip'

        Args:
            other: An IP object.

        Returns:
            If the IP versions of self and other are the same, returns:

            -1 if self < other:
              eg: IPv4Network('192.0.2.0/25') < IPv4Network('192.0.2.128/25')
              IPv6Network('2001:db8::1000/124') <
                  IPv6Network('2001:db8::2000/124')
            0 if self == other
              eg: IPv4Network('192.0.2.0/24') == IPv4Network('192.0.2.0/24')
              IPv6Network('2001:db8::1000/124') ==
                  IPv6Network('2001:db8::1000/124')
            1 if self > other
              eg: IPv4Network('192.0.2.128/25') > IPv4Network('192.0.2.0/25')
                  IPv6Network('2001:db8::2000/124') >
                      IPv6Network('2001:db8::1000/124')

          Raises:
              TypeError if the IP versions are different.

         N/A N/A N/A self _version N/A other _version N/A N/A N/A TypeError N/A %s and %s are not of the same type N/A self other N/A N/A N/A self network_address N/A other network_address N/A N/A -1 N/A N/A N/A self network_address N/A other network_address N/A N/A 1 N/A N/A N/A self netmask N/A other netmask N/A N/A -1 N/A N/A N/A self netmask N/A other netmask N/A N/A 1 N/A 0 N/A _get_networks_key N/A N/A self N/A N/A N/A Network-only key function.

        Returns an object that identifies this address' network and
        netmask. This function is a suitable "key" argument for sorted()
        and list.sort().

         N/A N/A N/A self _version N/A self network_address N/A self netmask N/A subnets N/A N/A self prefixlen_diff new_prefix N/A 1 None N/A N/A The subnets which join to make the current subnet.

        In the case that self contains only one IP
        (self._prefixlen == 32 for IPv4 or self._prefixlen == 128
        for IPv6), yield an iterator with just ourself.

        Args:
            prefixlen_diff: An integer, the amount the prefix length
              should be increased by. This should not be set if
              new_prefix is also set.
            new_prefix: The desired new prefix length. This must be a
              larger number (smaller prefix) than the existing prefix.
              This should not be set if prefixlen_diff is also set.

        Returns:
            An iterator of IPv(4|6) objects.

        Raises:
            ValueError: The prefixlen_diff is too small or too large.
                OR
            prefixlen_diff and new_prefix are both set or new_prefix
              is a smaller number than the current prefix (smaller
              number means a larger network)

         N/A N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A N/A self N/A N/A N/A new_prefix None N/A N/A N/A new_prefix N/A self _prefixlen N/A N/A N/A ValueError new prefix must be longer N/A N/A prefixlen_diff 1 N/A N/A N/A ValueError cannot set prefixlen_diff and new_prefix N/A prefixlen_diff N/A new_prefix N/A self _prefixlen N/A N/A prefixlen_diff 0 N/A N/A N/A ValueError prefix length diff must be > 0 N/A new_prefixlen N/A N/A self _prefixlen prefixlen_diff N/A N/A new_prefixlen N/A self _max_prefixlen N/A N/A N/A ValueError N/A prefix length diff %d is invalid for netblock %s N/A new_prefixlen self N/A first N/A N/A self __class__ N/A %s/%s N/A N/A self network_address N/A N/A self _prefixlen prefixlen_diff N/A N/A first N/A current first N/A True N/A N/A broadcast N/A current broadcast_address N/A N/A broadcast N/A self broadcast_address N/A N/A N/A new_addr N/A N/A self _address_class N/A N/A int broadcast 1 N/A current N/A N/A self __class__ N/A %s/%s N/A new_addr new_prefixlen N/A N/A current N/A supernet N/A N/A self prefixlen_diff new_prefix N/A 1 None N/A N/A The supernet containing the current network.

        Args:
            prefixlen_diff: An integer, the amount the prefix length of
              the network should be decreased by.  For example, given a
              /24 network and a prefixlen_diff of 3, a supernet with a
              /21 netmask is returned.

        Returns:
            An IPv4 network object.

        Raises:
            ValueError: If self.prefixlen - prefixlen_diff < 0. I.e., you have
              a negative prefix length.
                OR
            If prefixlen_diff and new_prefix are both set or new_prefix is a
              larger number than the current prefix (larger number means a
              smaller network)

         N/A N/A N/A self _prefixlen 0 N/A N/A self N/A N/A new_prefix None N/A N/A N/A new_prefix N/A self _prefixlen N/A N/A N/A ValueError new prefix must be shorter N/A N/A prefixlen_diff 1 N/A N/A N/A ValueError cannot set prefixlen_diff and new_prefix N/A prefixlen_diff N/A N/A self _prefixlen new_prefix N/A N/A N/A N/A self prefixlen prefixlen_diff 0 N/A N/A N/A ValueError N/A current prefixlen is %d, cannot have a prefixlen_diff of %d N/A N/A self prefixlen prefixlen_diff N/A t N/A N/A self __class__ N/A %s/%d N/A N/A self network_address N/A N/A self prefixlen prefixlen_diff strict False N/A N/A N/A t __class__ N/A %s/%d N/A N/A t network_address N/A t prefixlen N/A is_multicast N/A N/A self N/A N/A N/A Test if the address is reserved for multicast use.

        Returns:
            A boolean, True if the address is a multicast address.
            See RFC 2373 2.7 for details.

         N/A N/A N/A N/A self network_address is_multicast N/A N/A self broadcast_address is_multicast N/A property is_reserved N/A N/A self N/A N/A N/A Test if the address is otherwise IETF reserved.

        Returns:
            A boolean, True if the address is within one of the
            reserved IPv6 Network ranges.

         N/A N/A N/A N/A self network_address is_reserved N/A N/A self broadcast_address is_reserved N/A property is_link_local N/A N/A self N/A N/A N/A Test if the address is reserved for link-local.

        Returns:
            A boolean, True if the address is reserved per RFC 4291.

         N/A N/A N/A N/A self network_address is_link_local N/A N/A self broadcast_address is_link_local N/A property is_private N/A N/A self N/A N/A N/A Test if this address is allocated for private networks.

        Returns:
            A boolean, True if the address is reserved per
            iana-ipv4-special-registry or iana-ipv6-special-registry.

         N/A N/A N/A N/A self network_address is_private N/A N/A self broadcast_address is_private N/A property is_global N/A N/A self N/A N/A N/A Test if this address is allocated for public networks.

        Returns:
            A boolean, True if the address is not reserved per
            iana-ipv4-special-registry or iana-ipv6-special-registry.

         N/A N/A N/A self is_private N/A property is_unspecified N/A N/A self N/A N/A N/A Test if the address is unspecified.

        Returns:
            A boolean, True if this is the unspecified address as defined in
            RFC 2373 2.5.2.

         N/A N/A N/A N/A self network_address is_unspecified N/A N/A self broadcast_address is_unspecified N/A property is_loopback N/A N/A self N/A N/A N/A Test if the address is a loopback address.

        Returns:
            A boolean, True if the address is a loopback address as defined in
            RFC 2373 2.5.3.

         N/A N/A N/A N/A self network_address is_loopback N/A N/A self broadcast_address is_loopback N/A property N/A _BaseV4 N/A object N/A N/A Base IPv4 object.

    The following methods are used by IPv4 objects in both single IP
    addresses and networks.

     N/A _ALL_ONES N/A N/A 2 IPV4LENGTH 1 N/A _DECIMAL_DIGITS N/A frozenset 0123456789 N/A _valid_mask_octets N/A frozenset N/A 255 254 252 248 240 224 192 128 0 __init__ N/A N/A self address N/A N/A N/A N/A self _version 4 N/A N/A self _max_prefixlen IPV4LENGTH N/A _explode_shorthand_ip_string N/A N/A self N/A N/A N/A N/A str self N/A _ip_int_from_string N/A N/A self ip_str N/A N/A N/A Turn the given IP string into an integer for comparison.

        Args:
            ip_str: A string, the IP ip_str.

        Returns:
            The IP ip_str as an integer.

        Raises:
            AddressValueError: if ip_str isn't a valid IPv4 Address.

         N/A N/A ip_str N/A N/A N/A AddressValueError Address cannot be empty N/A octets N/A N/A ip_str split . N/A N/A N/A len octets 4 N/A N/A N/A AddressValueError N/A Expected 4 octets in %r ip_str N/A N/A N/A N/A _int_from_bytes N/A map N/A self _parse_octet octets big N/A N/A N/A ValueError N/A exc N/A N/A N/A AddressValueError N/A %s in %r N/A exc ip_str N/A _parse_octet N/A N/A self octet_str N/A N/A N/A Convert a decimal octet into an integer.

        Args:
            octet_str: A string, the number to parse.

        Returns:
            The octet as an integer.

        Raises:
            ValueError: if the octet isn't strictly a decimal from [0..255].

         N/A N/A octet_str N/A N/A N/A ValueError Empty octet not permitted N/A N/A N/A N/A N/A self _DECIMAL_DIGITS issuperset octet_str N/A N/A msg Only decimal digits permitted in %r N/A N/A ValueError N/A msg octet_str N/A N/A N/A len octet_str 3 N/A N/A msg At most 3 characters permitted in %r N/A N/A ValueError N/A msg octet_str N/A octet_int N/A int octet_str 10 N/A N/A N/A octet_int 7 N/A N/A octet_str N/A 0 0 N/A N/A msg Ambiguous (octal/decimal) value in %r not permitted N/A N/A ValueError N/A msg octet_str N/A N/A octet_int 255 N/A N/A N/A ValueError N/A Octet %d (> 255) not permitted octet_int N/A octet_int N/A _string_from_ip_int N/A N/A self ip_int N/A N/A N/A Turns a 32-bit integer into dotted decimal notation.

        Args:
            ip_int: An integer, the IP address.

        Returns:
            The IP address as a string in dotted decimal notation.

         N/A N/A N/A . join N/A map str N/A _int_to_bytes ip_int 4 big N/A _is_valid_netmask N/A N/A self netmask N/A N/A N/A Verify that the netmask is valid.

        Args:
            netmask: A string, either a prefix or dotted decimal
              netmask.

        Returns:
            A boolean, True if the prefix represents a valid IPv4
            netmask.

         N/A mask N/A N/A netmask split . N/A N/A N/A len mask 4 N/A N/A N/A N/A x mask N/A N/A N/A N/A int x N/A self _valid_mask_octets N/A N/A False N/A N/A N/A ValueError N/A N/A False N/A N/A idx y N/A enumerate mask N/A N/A N/A N/A idx 0 N/A y N/A mask N/A N/A idx 1 N/A N/A False N/A True N/A N/A N/A netmask N/A int netmask N/A N/A N/A ValueError N/A N/A False N/A N/A 0 netmask N/A self _max_prefixlen N/A _is_hostmask N/A N/A self ip_str N/A N/A N/A Test if the IP string is a hostmask (rather than a netmask).

        Args:
            ip_str: A string, the potential hostmask.

        Returns:
            A boolean, True if the IP string is a hostmask.

         N/A bits N/A N/A ip_str split . N/A N/A N/A parts N/A x N/A x N/A map int bits N/A x N/A self _valid_mask_octets N/A N/A N/A ValueError N/A N/A False N/A N/A N/A len parts N/A len bits N/A N/A False N/A N/A N/A parts N/A 0 N/A parts N/A -1 N/A N/A True N/A False N/A _reverse_pointer N/A N/A self N/A N/A N/A Return the reverse DNS pointer name for the IPv4 address.

        This implements the method described in RFC1035 3.5.

         N/A reverse_octets N/A N/A N/A N/A str self split . N/A -1 N/A N/A N/A N/A . join reverse_octets .in-addr.arpa N/A max_prefixlen N/A N/A self N/A N/A N/A N/A self _max_prefixlen N/A property version N/A N/A self N/A N/A N/A N/A self _version N/A property N/A IPv4Address N/A _BaseV4 _BaseAddress N/A N/A Represent and manipulate single IPv4 Addresses. __init__ N/A N/A self address N/A N/A N/A 
        Args:
            address: A string or integer representing the IP

              Additionally, an integer can be passed, so
              IPv4Address('192.0.2.1') == IPv4Address(3221225985).
              or, more generally
              IPv4Address(int(IPv4Address('192.0.2.1'))) ==
                IPv4Address('192.0.2.1')

        Raises:
            AddressValueError: If ipaddress isn't a valid IPv4 address.

         N/A N/A N/A _BaseAddress __init__ self address N/A N/A N/A _BaseV4 __init__ self address N/A N/A isinstance address int N/A N/A N/A N/A self _check_int_address address N/A N/A self _ip address N/A N/A N/A isinstance address bytes N/A N/A N/A N/A self _check_packed_address address 4 N/A N/A self _ip N/A _int_from_bytes address big N/A N/A addr_str N/A str address N/A N/A self _ip N/A N/A self _ip_int_from_string addr_str N/A packed N/A N/A self N/A N/A N/A The binary representation of this address. N/A N/A v4_int_to_packed N/A self _ip N/A property is_reserved N/A N/A self N/A N/A N/A Test if the address is otherwise IETF reserved.

         Returns:
             A boolean, True if the address is within the
             reserved IPv4 Network range.

         N/A reserved_network N/A IPv4Network 240.0.0.0/4 N/A N/A self reserved_network N/A property is_private N/A N/A self N/A N/A N/A Test if this address is allocated for private networks.

        Returns:
            A boolean, True if the address is reserved per
            iana-ipv4-special-registry.

         N/A N/A N/A self N/A IPv4Network 0.0.0.0/8 N/A self N/A IPv4Network 10.0.0.0/8 N/A self N/A IPv4Network 127.0.0.0/8 N/A self N/A IPv4Network 169.254.0.0/16 N/A self N/A IPv4Network 172.16.0.0/12 N/A self N/A IPv4Network 192.0.0.0/29 N/A self N/A IPv4Network 192.0.0.170/31 N/A self N/A IPv4Network 192.0.2.0/24 N/A self N/A IPv4Network 192.168.0.0/16 N/A self N/A IPv4Network 198.18.0.0/15 N/A self N/A IPv4Network 198.51.100.0/24 N/A self N/A IPv4Network 203.0.113.0/24 N/A self N/A IPv4Network 240.0.0.0/4 N/A self N/A IPv4Network 255.255.255.255/32 N/A property is_multicast N/A N/A self N/A N/A N/A Test if the address is reserved for multicast use.

        Returns:
            A boolean, True if the address is multicast.
            See RFC 3171 for details.

         N/A multicast_network N/A IPv4Network 224.0.0.0/4 N/A N/A self multicast_network N/A property is_unspecified N/A N/A self N/A N/A N/A Test if the address is unspecified.

        Returns:
            A boolean, True if this is the unspecified address as defined in
            RFC 5735 3.

         N/A unspecified_address N/A IPv4Address 0.0.0.0 N/A N/A self unspecified_address N/A property is_loopback N/A N/A self N/A N/A N/A Test if the address is a loopback address.

        Returns:
            A boolean, True if the address is a loopback per RFC 3330.

         N/A loopback_network N/A IPv4Network 127.0.0.0/8 N/A N/A self loopback_network N/A property is_link_local N/A N/A self N/A N/A N/A Test if the address is reserved for link-local.

        Returns:
            A boolean, True if the address is link-local per RFC 3927.

         N/A linklocal_network N/A IPv4Network 169.254.0.0/16 N/A N/A self linklocal_network N/A property N/A IPv4Interface N/A IPv4Address N/A __init__ N/A N/A self address N/A N/A N/A N/A isinstance address N/A bytes int N/A N/A N/A N/A IPv4Address __init__ self address N/A N/A self network N/A IPv4Network N/A self _ip N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A addr N/A _split_optional_netmask address N/A N/A N/A IPv4Address __init__ self N/A addr N/A 0 N/A N/A self network N/A IPv4Network address strict False N/A N/A self _prefixlen N/A N/A self network _prefixlen N/A N/A self netmask N/A N/A self network netmask N/A N/A self hostmask N/A N/A self network hostmask N/A __str__ N/A N/A self N/A N/A N/A N/A %s/%d N/A N/A N/A self _string_from_ip_int N/A self _ip N/A N/A self network prefixlen N/A __eq__ N/A N/A self other N/A N/A N/A address_equal N/A N/A IPv4Address __eq__ self other N/A N/A N/A address_equal N/A address_equal NotImplemented N/A N/A address_equal N/A N/A N/A N/A N/A self network N/A other network N/A N/A N/A AttributeError N/A N/A False N/A __lt__ N/A N/A self other N/A N/A N/A address_less N/A N/A IPv4Address __lt__ self other N/A N/A address_less NotImplemented N/A N/A NotImplemented N/A N/A N/A N/A N/A self network N/A other network N/A N/A N/A AttributeError N/A N/A False N/A __hash__ N/A N/A self N/A N/A N/A N/A N/A N/A self _ip N/A self _prefixlen N/A int N/A N/A self network network_address N/A ip N/A N/A self N/A N/A N/A N/A IPv4Address N/A self _ip N/A property with_prefixlen N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self _prefixlen N/A property with_netmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self netmask N/A property with_hostmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self hostmask N/A property N/A IPv4Network N/A _BaseV4 _BaseNetwork N/A N/A This class represents and manipulates 32-bit IPv4 network + addresses..

    Attributes: [examples for IPv4Network('192.0.2.0/27')]
        .network_address: IPv4Address('192.0.2.0')
        .hostmask: IPv4Address('0.0.0.31')
        .broadcast_address: IPv4Address('192.0.2.32')
        .netmask: IPv4Address('255.255.255.224')
        .prefixlen: 27

     N/A _address_class IPv4Address __init__ N/A N/A self address strict N/A True N/A N/A Instantiate a new IPv4 network object.

        Args:
            address: A string or integer representing the IP [& network].
              '192.0.2.0/24'
              '192.0.2.0/255.255.255.0'
              '192.0.0.2/0.0.0.255'
              are all functionally the same in IPv4. Similarly,
              '192.0.2.1'
              '192.0.2.1/255.255.255.255'
              '192.0.2.1/32'
              are also functionally equivalent. That is to say, failing to
              provide a subnetmask will create an object with a mask of /32.

              If the mask (portion after the / in the argument) is given in
              dotted quad form, it is treated as a netmask if it starts with a
              non-zero field (e.g. /255.0.0.0 == /8) and as a hostmask if it
              starts with a zero field (e.g. 0.255.255.255 == /8), with the
              single exception of an all-zero mask which is treated as a
              netmask == /0. If no mask is given, a default of /32 is used.

              Additionally, an integer can be passed, so
              IPv4Network('192.0.2.1') == IPv4Network(3221225985)
              or, more generally
              IPv4Interface(int(IPv4Interface('192.0.2.1'))) ==
                IPv4Interface('192.0.2.1')

        Raises:
            AddressValueError: If ipaddress isn't a valid IPv4 address.
            NetmaskValueError: If the netmask isn't valid for
              an IPv4 address.
            ValueError: If strict is True and a network address is not
              supplied.

         N/A N/A N/A _BaseV4 __init__ self address N/A N/A N/A _BaseNetwork __init__ self address N/A N/A isinstance address bytes N/A N/A N/A self network_address N/A IPv4Address address N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv4Address N/A self _ALL_ONES N/A N/A N/A isinstance address int N/A N/A N/A self network_address N/A IPv4Address address N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv4Address N/A self _ALL_ONES N/A N/A addr N/A _split_optional_netmask address N/A N/A self network_address N/A IPv4Address N/A N/A self _ip_int_from_string N/A addr N/A 0 N/A N/A N/A len addr 2 N/A N/A N/A N/A N/A self _prefixlen N/A N/A self _prefix_from_prefix_string N/A addr N/A 1 N/A N/A N/A NetmaskValueError N/A N/A N/A self _prefixlen N/A N/A self _prefix_from_ip_string N/A addr N/A 1 N/A N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv4Address N/A N/A self _ip_int_from_prefix N/A self _prefixlen N/A strict N/A N/A N/A N/A IPv4Address N/A N/A int N/A self network_address N/A int N/A self netmask N/A self network_address N/A N/A N/A ValueError N/A %s has host bits set self N/A N/A self network_address N/A IPv4Address N/A N/A int N/A self network_address N/A int N/A self netmask N/A N/A N/A self _prefixlen N/A N/A self _max_prefixlen 1 N/A N/A N/A self hosts N/A self __iter__ N/A is_global N/A N/A self N/A N/A N/A Test if this address is allocated for public networks.

        Returns:
            A boolean, True if the address is not reserved per
            iana-ipv4-special-registry.

         N/A N/A N/A N/A N/A N/A self network_address N/A IPv4Network 100.64.0.0/10 N/A N/A self broadcast_address N/A IPv4Network 100.64.0.0/10 N/A N/A self is_private N/A property N/A _BaseV6 N/A object N/A N/A Base IPv6 object.

    The following methods are used by IPv6 objects in both single IP
    addresses and networks.

     N/A _ALL_ONES N/A N/A 2 IPV6LENGTH 1 N/A _HEXTET_COUNT 8 N/A _HEX_DIGITS N/A frozenset 0123456789ABCDEFabcdef __init__ N/A N/A self address N/A N/A N/A N/A self _version 6 N/A N/A self _max_prefixlen IPV6LENGTH N/A _ip_int_from_string N/A N/A self ip_str N/A N/A N/A Turn an IPv6 ip_str into an integer.

        Args:
            ip_str: A string, the IPv6 ip_str.

        Returns:
            An int, the IPv6 address

        Raises:
            AddressValueError: if ip_str isn't a valid IPv6 Address.

         N/A N/A ip_str N/A N/A N/A AddressValueError Address cannot be empty N/A parts N/A N/A ip_str split : N/A _min_parts 3 N/A N/A N/A len parts _min_parts N/A N/A msg N/A At least %d parts expected in %r N/A _min_parts ip_str N/A N/A AddressValueError msg N/A N/A . N/A parts N/A -1 N/A N/A N/A N/A ipv4_int N/A N/A IPv4Address N/A N/A parts pop _ip N/A N/A N/A AddressValueError N/A exc N/A N/A N/A AddressValueError N/A %s in %r N/A exc ip_str N/A N/A N/A parts append N/A %x N/A N/A ipv4_int 16 65535 N/A N/A N/A parts append N/A %x N/A ipv4_int 65535 N/A _max_parts N/A N/A self _HEXTET_COUNT 1 N/A N/A N/A len parts _max_parts N/A N/A msg N/A At most %d colons permitted in %r N/A N/A _max_parts 1 ip_str N/A N/A AddressValueError msg N/A skip_index None N/A i N/A range 1 N/A N/A len parts 1 N/A N/A N/A N/A parts N/A i N/A N/A N/A skip_index None N/A N/A msg N/A At most one '::' permitted in %r ip_str N/A N/A AddressValueError msg N/A skip_index i N/A N/A skip_index None N/A N/A parts_hi skip_index N/A parts_lo N/A N/A N/A len parts skip_index 1 N/A N/A N/A parts N/A 0 N/A N/A parts_hi 1 N/A parts_hi N/A N/A msg Leading ':' only permitted as part of '::' in %r N/A N/A AddressValueError N/A msg ip_str N/A N/A N/A parts N/A -1 N/A N/A parts_lo 1 N/A parts_lo N/A N/A msg Trailing ':' only permitted as part of '::' in %r N/A N/A AddressValueError N/A msg ip_str N/A parts_skipped N/A N/A self _HEXTET_COUNT N/A parts_hi parts_lo N/A N/A parts_skipped 1 N/A N/A msg Expected at most %d other parts with '::' in %r N/A N/A AddressValueError N/A msg N/A N/A N/A self _HEXTET_COUNT 1 ip_str N/A N/A N/A N/A len parts N/A self _HEXTET_COUNT N/A N/A msg Exactly %d parts expected without '::' in %r N/A N/A AddressValueError N/A msg N/A N/A self _HEXTET_COUNT ip_str N/A N/A N/A parts N/A 0 N/A N/A msg Leading ':' only permitted as part of '::' in %r N/A N/A AddressValueError N/A msg ip_str N/A N/A N/A parts N/A -1 N/A N/A msg Trailing ':' only permitted as part of '::' in %r N/A N/A AddressValueError N/A msg ip_str N/A parts_hi N/A len parts N/A parts_lo 0 N/A parts_skipped 0 N/A N/A N/A ip_int 0 N/A i N/A range parts_hi N/A N/A ip_int 16 N/A ip_int N/A N/A self _parse_hextet N/A parts N/A i N/A ip_int N/A 16 parts_skipped N/A i N/A range N/A parts_lo 0 N/A N/A ip_int 16 N/A ip_int N/A N/A self _parse_hextet N/A parts N/A i N/A ip_int N/A N/A N/A ValueError N/A exc N/A N/A N/A AddressValueError N/A %s in %r N/A exc ip_str N/A _parse_hextet N/A N/A self hextet_str N/A N/A N/A Convert an IPv6 hextet string into an integer.

        Args:
            hextet_str: A string, the number to parse.

        Returns:
            The hextet as an integer.

        Raises:
            ValueError: if the input isn't strictly a hex number from
              [0..FFFF].

         N/A N/A N/A N/A N/A self _HEX_DIGITS issuperset hextet_str N/A N/A N/A ValueError N/A Only hex digits permitted in %r hextet_str N/A N/A N/A len hextet_str 4 N/A N/A msg At most 4 characters permitted in %r N/A N/A ValueError N/A msg hextet_str N/A N/A int hextet_str 16 N/A _compress_hextets N/A N/A self hextets N/A N/A N/A Compresses a list of hextets.

        Compresses a list of strings, replacing the longest continuous
        sequence of "0" in the list with "" and adding empty strings at
        the beginning or at the end of the string such that subsequently
        calling ":".join(hextets) will produce the compressed version of
        the IPv6 address.

        Args:
            hextets: A list of strings, the hextets to compress.

        Returns:
            A list of strings.

         N/A best_doublecolon_start -1 N/A best_doublecolon_len 0 N/A doublecolon_start -1 N/A doublecolon_len 0 N/A N/A index hextet N/A enumerate hextets N/A N/A N/A hextet 0 N/A N/A doublecolon_len 1 N/A N/A doublecolon_start -1 N/A N/A doublecolon_start index N/A N/A doublecolon_len best_doublecolon_len N/A N/A best_doublecolon_len doublecolon_len N/A best_doublecolon_start doublecolon_start N/A N/A doublecolon_len 0 N/A doublecolon_start -1 N/A N/A best_doublecolon_len 1 N/A N/A best_doublecolon_end N/A best_doublecolon_start best_doublecolon_len N/A N/A best_doublecolon_end N/A len hextets N/A N/A hextets N/A N/A N/A hextets N/A best_doublecolon_start best_doublecolon_end N/A N/A N/A best_doublecolon_start 0 N/A N/A hextets N/A N/A hextets N/A hextets N/A _string_from_ip_int N/A N/A self ip_int N/A None N/A N/A Turns a 128-bit integer into hexadecimal notation.

        Args:
            ip_int: An integer, the IP address.

        Returns:
            A string, the hexadecimal representation of the address.

        Raises:
            ValueError: The address is bigger than 128 bits of all ones.

         N/A N/A ip_int None N/A N/A ip_int N/A int N/A self _ip N/A N/A ip_int N/A self _ALL_ONES N/A N/A N/A ValueError IPv6 address is too large N/A hex_str N/A %032x ip_int N/A hextets N/A N/A %x N/A int N/A hex_str N/A x N/A x 4 16 N/A x N/A range 0 32 4 N/A hextets N/A N/A self _compress_hextets hextets N/A N/A N/A : join hextets N/A _explode_shorthand_ip_string N/A N/A self N/A N/A N/A Expand a shortened IPv6 address.

        Args:
            ip_str: A string, the IPv6 address.

        Returns:
            A string, the expanded IPv6 address.

         N/A N/A isinstance self IPv6Network N/A N/A ip_str N/A str N/A self network_address N/A N/A N/A isinstance self IPv6Interface N/A N/A ip_str N/A str N/A self ip N/A N/A ip_str N/A str self N/A ip_int N/A N/A self _ip_int_from_string ip_str N/A hex_str N/A %032x ip_int N/A parts N/A N/A hex_str N/A x N/A x 4 N/A x N/A range 0 32 4 N/A N/A isinstance self N/A _BaseNetwork IPv6Interface N/A N/A N/A %s/%d N/A N/A N/A : join parts N/A self _prefixlen N/A N/A N/A : join parts N/A _reverse_pointer N/A N/A self N/A N/A N/A Return the reverse DNS pointer name for the IPv6 address.

        This implements the method described in RFC3596 2.5.

         N/A reverse_chars N/A N/A N/A N/A self exploded N/A -1 replace : N/A N/A N/A N/A . join reverse_chars .ip6.arpa N/A max_prefixlen N/A N/A self N/A N/A N/A N/A self _max_prefixlen N/A property version N/A N/A self N/A N/A N/A N/A self _version N/A property N/A IPv6Address N/A _BaseV6 _BaseAddress N/A N/A Represent and manipulate single IPv6 Addresses. __init__ N/A N/A self address N/A N/A N/A Instantiate a new IPv6 address object.

        Args:
            address: A string or integer representing the IP

              Additionally, an integer can be passed, so
              IPv6Address('2001:db8::') ==
                IPv6Address(42540766411282592856903984951653826560)
              or, more generally
              IPv6Address(int(IPv6Address('2001:db8::'))) ==
                IPv6Address('2001:db8::')

        Raises:
            AddressValueError: If address isn't a valid IPv6 address.

         N/A N/A N/A _BaseAddress __init__ self address N/A N/A N/A _BaseV6 __init__ self address N/A N/A isinstance address int N/A N/A N/A N/A self _check_int_address address N/A N/A self _ip address N/A N/A N/A isinstance address bytes N/A N/A N/A N/A self _check_packed_address address 16 N/A N/A self _ip N/A _int_from_bytes address big N/A N/A addr_str N/A str address N/A N/A self _ip N/A N/A self _ip_int_from_string addr_str N/A packed N/A N/A self N/A N/A N/A The binary representation of this address. N/A N/A v6_int_to_packed N/A self _ip N/A property is_multicast N/A N/A self N/A N/A N/A Test if the address is reserved for multicast use.

        Returns:
            A boolean, True if the address is a multicast address.
            See RFC 2373 2.7 for details.

         N/A multicast_network N/A IPv6Network ff00::/8 N/A N/A self multicast_network N/A property is_reserved N/A N/A self N/A N/A N/A Test if the address is otherwise IETF reserved.

        Returns:
            A boolean, True if the address is within one of the
            reserved IPv6 Network ranges.

         N/A reserved_networks N/A N/A IPv6Network ::/8 N/A IPv6Network 100::/8 N/A IPv6Network 200::/7 N/A IPv6Network 400::/6 N/A IPv6Network 800::/5 N/A IPv6Network 1000::/4 N/A IPv6Network 4000::/3 N/A IPv6Network 6000::/3 N/A IPv6Network 8000::/3 N/A IPv6Network A000::/3 N/A IPv6Network C000::/3 N/A IPv6Network E000::/4 N/A IPv6Network F000::/5 N/A IPv6Network F800::/6 N/A IPv6Network FE00::/9 N/A N/A any N/A N/A self x N/A x reserved_networks N/A property is_link_local N/A N/A self N/A N/A N/A Test if the address is reserved for link-local.

        Returns:
            A boolean, True if the address is reserved per RFC 4291.

         N/A linklocal_network N/A IPv6Network fe80::/10 N/A N/A self linklocal_network N/A property is_site_local N/A N/A self N/A N/A N/A Test if the address is reserved for site-local.

        Note that the site-local address space has been deprecated by RFC 3879.
        Use is_private to test if this address is in the space of unique local
        addresses as defined by RFC 4193.

        Returns:
            A boolean, True if the address is reserved per RFC 3513 2.5.6.

         N/A sitelocal_network N/A IPv6Network fec0::/10 N/A N/A self sitelocal_network N/A property is_private N/A N/A self N/A N/A N/A Test if this address is allocated for private networks.

        Returns:
            A boolean, True if the address is reserved per
            iana-ipv6-special-registry.

         N/A N/A N/A self N/A IPv6Network ::1/128 N/A self N/A IPv6Network ::/128 N/A self N/A IPv6Network ::ffff:0:0/96 N/A self N/A IPv6Network 100::/64 N/A self N/A IPv6Network 2001::/23 N/A self N/A IPv6Network 2001:2::/48 N/A self N/A IPv6Network 2001:db8::/32 N/A self N/A IPv6Network 2001:10::/28 N/A self N/A IPv6Network fc00::/7 N/A self N/A IPv6Network fe80::/10 N/A property is_global N/A N/A self N/A N/A N/A Test if this address is allocated for public networks.

        Returns:
            A boolean, true if the address is not reserved per
            iana-ipv6-special-registry.

         N/A N/A N/A self is_private N/A property is_unspecified N/A N/A self N/A N/A N/A Test if the address is unspecified.

        Returns:
            A boolean, True if this is the unspecified address as defined in
            RFC 2373 2.5.2.

         N/A N/A N/A self _ip 0 N/A property is_loopback N/A N/A self N/A N/A N/A Test if the address is a loopback address.

        Returns:
            A boolean, True if the address is a loopback address as defined in
            RFC 2373 2.5.3.

         N/A N/A N/A self _ip 1 N/A property ipv4_mapped N/A N/A self N/A N/A N/A Return the IPv4 mapped address.

        Returns:
            If the IPv6 address is a v4 mapped address, return the
            IPv4 mapped address. Return None otherwise.

         N/A N/A N/A N/A self _ip 32 65535 N/A N/A None N/A N/A IPv4Address N/A N/A self _ip 4294967295 N/A property teredo N/A N/A self N/A N/A N/A Tuple of embedded teredo IPs.

        Returns:
            Tuple of the (server, client) IPs or None if the address
            doesn't appear to be a teredo address (doesn't start with
            2001::/32)

         N/A N/A N/A N/A self _ip 96 536936448 N/A N/A None N/A N/A N/A IPv4Address N/A N/A N/A self _ip 64 4294967295 N/A IPv4Address N/A N/A N/A self _ip 4294967295 N/A property sixtofour N/A N/A self N/A N/A N/A Return the IPv4 6to4 embedded address.

        Returns:
            The IPv4 6to4-embedded address if present or None if the
            address doesn't appear to contain a 6to4 embedded address.

         N/A N/A N/A N/A self _ip 112 8194 N/A N/A None N/A N/A IPv4Address N/A N/A N/A self _ip 80 4294967295 N/A property N/A IPv6Interface N/A IPv6Address N/A __init__ N/A N/A self address N/A N/A N/A N/A isinstance address N/A bytes int N/A N/A N/A N/A IPv6Address __init__ self address N/A N/A self network N/A IPv6Network N/A self _ip N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A addr N/A _split_optional_netmask address N/A N/A N/A IPv6Address __init__ self N/A addr N/A 0 N/A N/A self network N/A IPv6Network address strict False N/A N/A self netmask N/A N/A self network netmask N/A N/A self _prefixlen N/A N/A self network _prefixlen N/A N/A self hostmask N/A N/A self network hostmask N/A __str__ N/A N/A self N/A N/A N/A N/A %s/%d N/A N/A N/A self _string_from_ip_int N/A self _ip N/A N/A self network prefixlen N/A __eq__ N/A N/A self other N/A N/A N/A address_equal N/A N/A IPv6Address __eq__ self other N/A N/A N/A address_equal N/A address_equal NotImplemented N/A N/A address_equal N/A N/A N/A N/A N/A self network N/A other network N/A N/A N/A AttributeError N/A N/A False N/A __lt__ N/A N/A self other N/A N/A N/A address_less N/A N/A IPv6Address __lt__ self other N/A N/A address_less NotImplemented N/A N/A NotImplemented N/A N/A N/A N/A N/A self network N/A other network N/A N/A N/A AttributeError N/A N/A False N/A __hash__ N/A N/A self N/A N/A N/A N/A N/A N/A self _ip N/A self _prefixlen N/A int N/A N/A self network network_address N/A ip N/A N/A self N/A N/A N/A N/A IPv6Address N/A self _ip N/A property with_prefixlen N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self _prefixlen N/A property with_netmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self netmask N/A property with_hostmask N/A N/A self N/A N/A N/A N/A %s/%s N/A N/A N/A self _string_from_ip_int N/A self _ip N/A self hostmask N/A property is_unspecified N/A N/A self N/A N/A N/A N/A N/A N/A self _ip 0 N/A N/A self network is_unspecified N/A property is_loopback N/A N/A self N/A N/A N/A N/A N/A N/A self _ip 1 N/A N/A self network is_loopback N/A property N/A IPv6Network N/A _BaseV6 _BaseNetwork N/A N/A This class represents and manipulates 128-bit IPv6 networks.

    Attributes: [examples for IPv6('2001:db8::1000/124')]
        .network_address: IPv6Address('2001:db8::1000')
        .hostmask: IPv6Address('::f')
        .broadcast_address: IPv6Address('2001:db8::100f')
        .netmask: IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0')
        .prefixlen: 124

     N/A _address_class IPv6Address __init__ N/A N/A self address strict N/A True N/A N/A Instantiate a new IPv6 Network object.

        Args:
            address: A string or integer representing the IPv6 network or the
              IP and prefix/netmask.
              '2001:db8::/128'
              '2001:db8:0000:0000:0000:0000:0000:0000/128'
              '2001:db8::'
              are all functionally the same in IPv6.  That is to say,
              failing to provide a subnetmask will create an object with
              a mask of /128.

              Additionally, an integer can be passed, so
              IPv6Network('2001:db8::') ==
                IPv6Network(42540766411282592856903984951653826560)
              or, more generally
              IPv6Network(int(IPv6Network('2001:db8::'))) ==
                IPv6Network('2001:db8::')

            strict: A boolean. If true, ensure that we have been passed
              A true network address, eg, 2001:db8::1000/124 and not an
              IP address on a network, eg, 2001:db8::1/124.

        Raises:
            AddressValueError: If address isn't a valid IPv6 address.
            NetmaskValueError: If the netmask isn't valid for
              an IPv6 address.
            ValueError: If strict was True and a network address was not
              supplied.

         N/A N/A N/A _BaseV6 __init__ self address N/A N/A N/A _BaseNetwork __init__ self address N/A N/A isinstance address int N/A N/A N/A self network_address N/A IPv6Address address N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv6Address N/A self _ALL_ONES N/A N/A N/A isinstance address bytes N/A N/A N/A self network_address N/A IPv6Address address N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv6Address N/A self _ALL_ONES N/A N/A addr N/A _split_optional_netmask address N/A N/A self network_address N/A IPv6Address N/A N/A self _ip_int_from_string N/A addr N/A 0 N/A N/A N/A len addr 2 N/A N/A N/A self _prefixlen N/A N/A self _prefix_from_prefix_string N/A addr N/A 1 N/A N/A N/A self _prefixlen N/A self _max_prefixlen N/A N/A self netmask N/A IPv6Address N/A N/A self _ip_int_from_prefix N/A self _prefixlen N/A strict N/A N/A N/A N/A IPv6Address N/A N/A int N/A self network_address N/A int N/A self netmask N/A self network_address N/A N/A N/A ValueError N/A %s has host bits set self N/A N/A self network_address N/A IPv6Address N/A N/A int N/A self network_address N/A int N/A self netmask N/A N/A N/A self _prefixlen N/A N/A self _max_prefixlen 1 N/A N/A N/A self hosts N/A self __iter__ N/A hosts N/A N/A self N/A N/A N/A Generate Iterator over usable hosts in a network.

          This is like __iter__ except it doesn't return the
          Subnet-Router anycast address.

         N/A network N/A int N/A self network_address N/A broadcast N/A int N/A self broadcast_address N/A x N/A range 1 N/A N/A broadcast network 1 N/A N/A N/A N/A N/A self _address_class N/A network x N/A is_site_local N/A N/A self N/A N/A N/A Test if the address is reserved for site-local.

        Note that the site-local address space has been deprecated by RFC 3879.
        Use is_private to test if this address is in the space of unique local
        addresses as defined by RFC 4193.

        Returns:
            A boolean, True if the address is reserved per RFC 3513 2.5.6.

         N/A N/A N/A N/A self network_address is_site_local N/A N/A self broadcast_address is_site_local N/A property N/A