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`
Routines for IPv4 and IPv6 addresses, subnets and ranges.
|
parse_ip_network(module,
addr,
implicit_prefix=False,
flags=0) |
|
|
|
iter_unique_ips(*args)
Returns:
A generator that flattens out IP subnets, yielding unique individual
IP addresses (no duplicates). |
|
|
|
cidr_abbrev_to_verbose(abbrev_cidr)
A function that converts abbreviated IPv4 CIDRs to their more verbose
equivalent. |
|
|
|
cidr_merge(ip_addrs)
A function that accepts an iterable sequence of IP addresses and
subnets merging them into the smallest possible list of CIDRs. |
|
|
|
cidr_exclude(target,
exclude)
Removes an exclude IP address or subnet from target IP subnet. |
|
|
|
spanning_cidr(ip_addrs)
Function that accepts a sequence of IP addresses and subnets
returning a single IPNetwork subnet that is large enough to span the
lower and upper bound IP addresses with a possible overlap on either
end. |
|
|
|
iter_iprange(start,
end,
step=1)
A generator that produces IPAddress objects between an arbitrary
start and stop IP address with intervals of step between them. |
|
|
|
iprange_to_cidrs(start,
end)
A function that accepts an arbitrary start and end IP address or
subnet and returns a list of CIDR subnets that fit exactly between
the boundaries of the two with no overlap. |
|
|
|
smallest_matching_cidr(ip,
cidrs)
Matches an IP address or subnet against a given sequence of IP
addresses and subnets. |
|
|
|
largest_matching_cidr(ip,
cidrs)
Matches an IP address or subnet against a given sequence of IP
addresses and subnets. |
|
|
|
all_matching_cidrs(ip,
cidrs)
Matches an IP address or subnet against a given sequence of IP
addresses and subnets. |
|
|
|
RE_CIDR_ADJACENT = re.compile(r'^( [ 01] + ) 0 \1 1$')
|
|
RE_CIDR_WITHIN = re.compile(r'^( [ 01] + ) \1 [ 10] + $')
|
|
RE_VALID_CIDR_BITS = re.compile(r'^[ 01] + $')
|
|
IPV4_LOOPBACK = IPNetwork('127.0.0.0/8')
|
|
IPV4_PRIVATE = ( IPNetwork('10.0.0.0/8'), IPNetwork('172.16.0.0...
|
|
IPV4_LINK_LOCAL = IPNetwork('169.254.0.0/16')
|
|
IPV4_MULTICAST = IPNetwork('224.0.0.0/4')
|
|
IPV4_6TO4 = IPNetwork('192.88.99.0/24')
|
|
IPV4_RESERVED = ( IPNetwork('39.0.0.0/8'), IPNetwork('128.0.0.0...
|
|
IPV6_LOOPBACK = IPAddress('::1')
|
|
IPV6_PRIVATE = ( IPNetwork('fc00::/7'), IPNetwork('fec0::/10'))
|
|
IPV6_LINK_LOCAL = IPNetwork('fe80::/10')
|
|
IPV6_MULTICAST = IPNetwork('ff00::/8')
|
|
IPV6_RESERVED = ( IPNetwork('ff00::/12'), IPNetwork('::/8'), IP...
|
|
__package__ = ' netaddr.ip '
|