*j> J S r SrSSKrSrSr " S S\5 r " S S \5 rS rS2S jr S r S rS rS r S rS rS rS rS rS r " S S5 rSq\R, " S S\5 5 r\R, " S S\5 5 r " S S5 r\\l " S S5 r " S S!\\5 r " S" S#\5 r " S$ S%\\5 r " S& S'5 r\\l \\l " S( S)5 r " S* S+\ \5 r! " S, S-\!5 r" " S. S/\ \5 r# " S0 S15 r$\$\!l \$\#l g)3zA fast, lightweight IPv4/IPv6 manipulation library in Python. This library is used to create/poke/manipulate IPv4 and IPv6 addresses and networks. z1.0 N c \ rS rSrSrSrg)AddressValueError z%A Value Error related to the address. N__name__ __module____qualname____firstlineno____doc____static_attributes__r 0/opt/alt/python313/lib64/python3.13/ipaddress.pyr r /r r c \ rS rSrSrSrg)NetmaskValueError z%A Value Error related to the netmask.r Nr r r r r r r r r c [ U 5 $ ! [ [ 4 a Of = f [ U 5 $ ! [ [ 4 a Of = f[ U < S35 e)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 z. does not appear to be an IPv4 or IPv6 address)IPv4Addressr r IPv6Address ValueErroraddresss r ip_addressr sg 7##01 7##01 {"PQ RR / AAc [ X5 $ ! [ [ 4 a Of = f [ X5 $ ! [ [ 4 a Of = f[ U < S35 e)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. z. does not appear to be an IPv4 or IPv6 network)IPv4Networkr r IPv6Networkr )r stricts r ip_networkr" 9 sg 7++01 7++01 {"PQ RRr c [ U 5 $ ! [ [ 4 a Of = f [ U 5 $ ! [ [ 4 a Of = f[ U < S35 e)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. z0 does not appear to be an IPv4 or IPv6 interface) IPv4Interfacer r IPv6Interfacer r s r ip_interfacer&