PNG
IHDR ; IDATxܻn0K
)(pA7LeG{ §㻢|ذaÆ
6lذaÆ
6lذaÆ
6lom$^yذag5 bÆ
6lذaÆ
6lذa{
6lذaÆ
`}HFkm,mӪôô!x|'ܢ˟;E:9&ᶒ}{v]n&6
h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%tMז -lG6mrz2s%9s@-k9=)kB5\+͂ZsٲRn~GRCwIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL /F*\Ԕ#"5m2[S=gnaPeғL
lذaÆ
6l^ḵaÆ
6lذaÆ
6lذa;
_ذaÆ
6lذaÆ
6lذaÆ
R IENDB`
Represents an unordered collection (set) of unique IP addresses and
subnets.
|
__init__(self,
iterable=None,
flags=0)
Constructor. |
|
|
|
__getstate__(self)
Returns:
Pickled state of an IPSet object. |
|
|
|
|
|
compact(self)
Compact internal list of IPNetwork objects using a CIDR merge. |
|
|
|
__hash__(self)
Please Note: IPSet objects are not hashable and cannot be used
as dictionary keys or as members of other sets. |
|
|
|
__contains__(self,
ip)
Returns:
True if IP address or subnet is a member of this IP set. |
|
|
|
__iter__(self)
Returns:
an iterator over the IP addresses within this IP set. |
|
|
|
iter_cidrs(self)
Returns:
an iterator over individual IP subnets within this IP set. |
|
|
|
add(self,
addr,
flags=0)
Adds an IP address or subnet to this IP set. |
|
|
|
remove(self,
addr,
flags=0)
Removes an IP address or subnet from this IP set. |
|
|
|
pop(self)
Removes and returns an arbitrary IP address or subnet from this IP
set. |
|
|
|
isdisjoint(self,
other)
Returns:
True if this IP set has no elements (IP addresses or
subnets) in common with other. |
|
|
|
copy(self)
Returns:
a shallow copy of this IP set. |
|
|
|
update(self,
iterable,
flags=0)
Update the contents of this IP set with the union of itself and other
IP set. |
|
|
|
clear(self)
Remove all IP addresses and subnets from this IP set. |
|
|
|
__eq__(self,
other)
Returns:
True if this IP set is equivalent to the
other IP set, False otherwise. |
|
|
|
__ne__(self,
other)
Returns:
False if this IP set is equivalent to the
other IP set, True otherwise. |
|
|
|
__lt__(self,
other)
Returns:
True if this IP set is less than the other
IP set, False otherwise. |
|
|
|
issubset(self,
other)
Returns:
True if every IP address and subnet in this IP set is
found within other . |
|
|
|
__le__(self,
other)
Returns:
True if every IP address and subnet in this IP set is
found within other . |
|
|
|
__gt__(self,
other)
Returns:
True if this IP set is greater than the
other IP set, False otherwise. |
|
|
|
issuperset(self,
other)
Returns:
True if every IP address and subnet in other IP set is
found within this one. |
|
|
|
__ge__(self,
other)
Returns:
True if every IP address and subnet in other IP set is
found within this one. |
|
|
|
union(self,
other)
Returns:
the union of this IP set and another as a new IP set (combines IP
addresses and subnets from both sets). |
|
|
|
__or__(self,
other)
Returns:
the union of this IP set and another as a new IP set (combines IP
addresses and subnets from both sets). |
|
|
|
intersection(self,
other)
Returns:
the intersection of this IP set and another as a new IP set. |
|
|
|
__and__(self,
other)
Returns:
the intersection of this IP set and another as a new IP set. |
|
|
|
symmetric_difference(self,
other)
Returns:
the symmetric difference of this IP set and another as a new IP set
(all IP addresses and subnets that are in exactly one of the sets). |
|
|
|
__xor__(self,
other)
Returns:
the symmetric difference of this IP set and another as a new IP set
(all IP addresses and subnets that are in exactly one of the sets). |
|
|
|
difference(self,
other)
Returns:
the difference between this IP set and another as a new IP set (all
IP addresses and subnets that are in this IP set but not found in the
other.) |
|
|
|
__sub__(self,
other)
Returns:
the difference between this IP set and another as a new IP set (all
IP addresses and subnets that are in this IP set but not found in the
other.) |
|
|
|
__len__(self)
Returns:
the cardinality of this IP set (i.e. |
|
|
|
__repr__(self)
Returns:
Python statement to create an equivalent object |
|
|
|
__str__(self)
Returns:
Python statement to create an equivalent object |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|