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KO}ӽmSşذqsOy?\[,d@'73'j%kOe`1.g2"e =YIzS2|zŐƄa\U,dP;jhhhaxǶ?КZ՚.q SE+XrbOu%\GتX(H,N^~]JyEZQKceTQ]VGYqnah;y$cQahT&QPZ*iZ8UQQM.qo/T\7X"u?Mttl2Xq(IoW{R^ ux*SYJ! 4S.Jy~ BROS[V|žKNɛP(L6V^|cR7i7nZW1Fd@ Ara{詑|(T*dN]Ko?s=@ |_EvF]׍kR)eBJc" MUUbY6`~V޴dJKß&~'d3i WWWWWW
Current Directory: /usr/lib/python2.7/site-packages/pip/_vendor
Viewing File: /usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyc
� ��abc@sdZddlmZddlZddlZdZefZyeefZWne k r`nXy e Z Wn)e k r�e Z e e ks�t�nXdddkr�d�Zn d�Zy ejZWnek r�d �ZnXd �Zeed �r d �Zn d �Zdd�Zdefd��YZdZdZdefd��YZdefd��YZd�Zed�Z d�Z!d�Z"d�Z#d�Z$d�Z%d�Z&d �Z'd!�Z(d"�Z)d#�Z*d$efd%��YZ+d&e+fd'��YZ,d(e+fd)��YZ-d*efd+��YZ.d,e.e,fd-��YZ/d.e/fd/��YZ0d0e.e-fd1��YZ1d2efd3��YZ2e2e/_3d4efd5��YZ4d6e4e,fd7��YZ5d8e5fd9��YZ6d:e4e-fd;��YZ7d<efd=��YZ8e8e5_3dS(>u�A fast, lightweight IPv4/IPv6 manipulation library in Python. This library is used to create/poke/manipulate IPv4 and IPv6 addresses and networks. i����(tunicode_literalsNu1.0.17sicCs|S(N((tbyt((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_compat_bytes_to_byte_valsscCs'g|D]}tjd|�d^qS(Ns!Bi(tstructtunpack(Rtb((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR"scCsP|dkst�d}x1|D])}t|t�s:t�|d>|}qW|S(Nubigii(tAssertionErrort isinstancet_compat_int_types(tbytvalst endianesstrestbv((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_compat_int_from_byte_vals's  cCs�t|t�st�|dks't�|dkrm|dksK|dkr]tjd��ntjd|�S|dkr�|dks�|dkr�tjd ��ntjd |d ?|d @�St��dS(Nubigiiii u(integer out of range for 'I' format codes!Iii�u)integer out of range for 'QQ' format codes!QQi@l����Il (RRRRterrortpacktNotImplementedError(tintvaltlengthR ((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_compat_to_bytes0s  u bit_lengthcCs |j�S(N(t bit_length(ti((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_compat_bit_length?scCs/x(tj�D]}||?dkr |Sq WdS(Ni(t itertoolstcount(RR ((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRBsiccs>|dkst�|}x||kr9|V||7}qWdS(Ni(R(tstarttendtstepR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt _compat_rangeHs t_TotalOrderingMixincBsDeZdZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs t�dS(N(R(tselftother((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__eq__WscCs$|j|�}|tkrtS| S(N(R tNotImplemented(RRtequal((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__ne__Zs cCs t�dS(N(R(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__lt__`scCs3|j|�}|tks"| r/|j|�S|S(N(R$R!R (RRtless((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__le__cs cCsI|j|�}|tkrtS|j|�}|tkr>tS|pG| S(N(R$R!R (RRR%R"((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__gt__is  cCs$|j|�}|tkrtS| S(N(R$R!(RRR%((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__ge__rs (( t__name__t __module__t __slots__R R#R$R&R'R((((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRPs     i i�tAddressValueErrorcBseZdZRS(u%A Value Error related to the address.(R)R*t__doc__(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR,}stNetmaskValueErrorcBseZdZRS(u%A Value Error related to the netmask.(R)R*R-(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR.�scCs�yt|�SWnttfk r'nXyt|�SWnttfk rOnXt|t�rrtd|��ntd|��dS(u�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 ux%r does not appear to be an IPv4 or IPv6 address. Did you pass in a bytes (str in Python 2) instead of a unicode object?u0%r does not appear to be an IPv4 or IPv6 addressN(t IPv4AddressR,R.t IPv6AddressRtbytest ValueError(taddress((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt ip_address�s cCs�yt||�SWnttfk r*nXyt||�SWnttfk rUnXt|t�rxtd|��ntd|��dS(u�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. ux%r does not appear to be an IPv4 or IPv6 network. Did you pass in a bytes (str in Python 2) instead of a unicode object?u0%r does not appear to be an IPv4 or IPv6 networkN(t IPv4NetworkR,R.t IPv6NetworkRR1R2(R3tstrict((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt ip_network�s cCsdyt|�SWnttfk r'nXyt|�SWnttfk rOnXtd|��dS(ugTake 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. u2%r does not appear to be an IPv4 or IPv6 interfaceN(t IPv4InterfaceR,R.t IPv6InterfaceR2(R3((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt ip_interface�scCsAyt|dd�SWn&tjtfk r<td��nXdS(u`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. iubigu&Address negative or too large for IPv4N(RRRt OverflowErrorR2(R3((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytv4_int_to_packed�scCsAyt|dd�SWn&tjtfk r<td��nXdS(u�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. iubigu&Address negative or too large for IPv6N(RRRR<R2(R3((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytv6_int_to_packeds cCs>t|�jd�}t|�dkr:td|��n|S(uAHelper to split the netmask and raise AddressValueError if neededu/iuOnly one '/' permitted in %r(t _compat_strtsplittlenR,(R3taddr((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_split_optional_netmasksccslt|�}t|�}}x>|D]6}|j|jdkrS||fV|}n|}q#W||fVdS(u�Find a sequence of sorted deduplicated IPv#Address. Args: addresses: a list of IPv#Address objects. Yields: A tuple containing the first and last IP addresses in the sequence. iN(titertnextt_ip(t addressestittfirsttlasttip((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_find_address_ranges     cCs,|dkr|St|t||d@��S(u�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. ii(tminR(tnumbertbits((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_count_righthand_zero_bits0s ccsKt|t�ot|t�s-td��n|j|jkrXtd||f��n||krstd��n|jdkr�t}n$|jdkr�t}n td��|j}|j}|j}xz||krFt t ||�t ||d�d�}||||f�}|V|d|>7}|d|j kr�Pq�q�WdS( u�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. u1first and last must be IP addresses, not networksu%%s and %s are not of the same versionu*last IP address must be greater than firstiiuunknown IP versioniN( Rt _BaseAddresst TypeErrortversionR2R5R6t_max_prefixlenRFRMRPRt _ALL_ONES(RIRJRKtip_bitst first_inttlast_inttnbitstnet((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytsummarize_address_range@s0       ccs�t|�}i}xm|r�|j�}|j�}|j|�}|dkr[|||<q||kr||=|j|�qqWd}xLt|j��D]8}|dk r�|j|jkr�q�q�n|V|}q�WdS(uuLoops 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_internal([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( tlisttpoptsupernettgettNonetappendtsortedtvaluestbroadcast_address(RGtto_mergetsubnetsRZR^texistingRJ((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_collapse_addresses_internalws$         cCs�g}g}g}x2|D]*}t|t�rw|rg|dj|jkrgtd||df��n|j|�q|j|jkr�|r�|dj|jkr�td||df��ny|j|j�WqCtk r�|j|j �qCXq|r6|dj|jkr6td||df��n|j|�qWt t |��}|r�x3t |�D]"\}}|j t||��qlWnt||�S(u�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. i����u%%s and %s are not of the same version(RRQt_versionRRRat _prefixlenRTRKtAttributeErrortnetwork_addressRbtsetRLtextendR[Rh(RGtaddrstipstnetsRKRIRJ((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytcollapse_addresses�s4  cCs6t|t�r|j�St|t�r2|j�StS(u2Return 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. (Rt _BaseNetworkt_get_networks_keyRQt_get_address_keyR!(tobj((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytget_mixed_type_key�s   t_IPAddressBasecBs�eZdZd Zed��Zed��Zed��Zed��Zd�Z d�Z e d��Z e d��Z e d ��Ze d ��Ze d ��Zd �ZRS(uThe mother class.cCs |j�S(u:Return the longhand version of the IP address as a string.(t_explode_shorthand_ip_string(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytexploded�scCs t|�S(u;Return the shorthand version of the IP address as a string.(R?(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt compressedscCs |j�S(uIThe 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' (t_reverse_pointer(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytreverse_pointers cCs#dt|�f}t|��dS(Nu%200s has no version specified(ttypeR(Rtmsg((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRSscCsi|dkr.d}t|||jf��n||jkred}t|||j|jf��ndS(Niu-%d (< 0) is not permitted as an IPv%d addressu2%d (>= 2**%d) is not permitted as an IPv%d address(R,RiRURT(RR3R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_check_int_addresss cCsDt|�}||kr@d}t|||||jf��ndS(Nu~%r (len %d != %d) is not permitted as an IPv%d address. Did you pass in a bytes (str in Python 2) instead of a unicode object?(RAR,Ri(RR3t expected_lent address_lenR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_check_packed_address s    cCs|j|j|?AS(u�Turn the prefix length into a bitwise netmask Args: prefixlen: An integer, the prefix length. Returns: An integer. (RU(tclst prefixlen((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_ip_int_from_prefix+s c Cst||j�}|j|}||?}d|>d}||kr{|jd}t||d�}d}t||��n|S(uReturn 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 iiubigu&Netmask pattern %r mixes zeroes & ones(RPRTRR2( R�tip_intttrailing_zeroesR�t leading_onestall_onestbyteslentdetailsR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_prefix_from_ip_int8s      cCsd|}t|��dS(Nu%r is not a valid netmask(R.(R�t netmask_strR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_report_invalid_netmaskQs cCs�tjj|�s"|j|�nyt|�}Wntk rR|j|�nXd|kom|jkns�|j|�n|S(u 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 i(t_BaseV4t_DECIMAL_DIGITSt issupersetR�tintR2RT(R�t prefixlen_strR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_prefix_from_prefix_stringVs cCs�y|j|�}Wntk r3|j|�nXy|j|�SWntk rXnX||jN}y|j|�SWntk r�|j|�nXdS(uTurn 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(t_ip_int_from_stringR,R�R�R2RU(R�tip_strR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_prefix_from_ip_stringos    cCs|jt|�ffS(N(t __class__R?(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt __reduce__�s((R)R*R-R+tpropertyRzR{R}RSR�R�t classmethodR�R�R�R�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRx�s   "RQcBsneZdZd Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z d�Z d �Z d �Z RS( u�A generic IP object. This IP class contains the version independent methods which are used by single IP addresses. cCs|jS(N(RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__int__�scCs?y&|j|jko$|j|jkSWntk r:tSXdS(N(RFRiRkR!(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR �s  cCs�t|t�stSt|t�s;td||f��n|j|jkrftd||f��n|j|jkr�|j|jkStS(Nu"%s and %s are not of the same typeu%%s and %s are not of the same version(RRxR!RQRRRiRFtFalse(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR$�scCs*t|t�stS|jt|�|�S(N(RRR!R�R�(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__add__�scCs*t|t�stS|jt|�|�S(N(RRR!R�R�(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__sub__�scCsd|jjt|�fS(Nu%s(%r)(R�R)R?(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__repr__�scCst|j|j��S(N(R?t_string_from_ip_intRF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__str__�scCsttt|j���S(N(thashthexR�RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__hash__�scCs |j|fS(N(Ri(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRu�scCs|j|jffS(N(R�RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s((R)R*R-R+R�R R$R�R�R�R�R�RuR�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRQ�s         RscBs�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z d �Z d �Z d �Z ed ��Zed ��Zed��Zed��Zed��Zed��Zed��Zed��Zd�Zd�Zd�Zdd#d�Zdd#d�Zed��Zd�Zd�Zed��Z ed��Z!ed��Z"ed ��Z#ed!��Z$ed"��Z%RS($u~A generic IP network object. This IP class contains the version independent methods which are used by networks. cCs i|_dS(N(t_cache(RR3((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__init__�scCsd|jjt|�fS(Nu%s(%r)(R�R)R?(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCsd|j|jfS(Nu%s/%d(RlR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��sccsNt|j�}t|j�}x)t|d|�D]}|j|�Vq2WdS(u�Generate Iterator over usable hosts in a network. This is like __iter__ except it doesn't return the network or broadcast addresses. iN(R�RlRdRt_address_class(Rtnetworkt broadcasttx((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pythosts�sccsNt|j�}t|j�}x)t||d�D]}|j|�Vq2WdS(Ni(R�RlRdRR�(RR�R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt__iter__�scCs�t|j�}t|j�}|dkrZ|||krItd��n|j||�S|d7}|||kr�td��n|j||�SdS(Niuaddress out of rangei(R�RlRdt IndexErrorR�(RtnR�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt __getitem__�s  cCs�t|t�stSt|t�s;td||f��n|j|jkrftd||f��n|j|jkr�|j|jkS|j|jkr�|j|jkStS(Nu"%s and %s are not of the same typeu%%s and %s are not of the same version( RRxR!RsRRRiRltnetmaskR�(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR$scCs]yD|j|jkoB|j|jkoBt|j�t|j�kSWntk rXtSXdS(N(RiRlR�R�RkR!(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR s   cCs tt|j�t|j�A�S(N(R�R�RlR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�scCs`|j|jkrtSt|t�r)tSt|j�t|j�koYt|j�kSSdS(N(RiR�RRsR�RlRFRd(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt __contains__s  cCs:|j|kp9|j|kp9|j|kp9|j|kS(u*Tell if self is partly contained in other.(RlRd(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytoverlaps)scCsW|jjd�}|dkrS|jt|j�t|j�B�}||jd<n|S(Nubroadcast_address(R�R_R`R�R�Rlthostmask(RR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRd0s  cCsQ|jjd�}|dkrM|jt|j�|jA�}||jd<n|S(Nuhostmask(R�R_R`R�R�R�RU(RR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�9s  cCsd|j|jfS(Nu%s/%d(RlRj(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytwith_prefixlenAscCsd|j|jfS(Nu%s/%s(RlR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt with_netmaskEscCsd|j|jfS(Nu%s/%s(RlR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt with_hostmaskIscCst|j�t|j�dS(u&Number of hosts in the current subnet.i(R�RdRl(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt num_addressesMscCs#dt|�f}t|��dS(Nu%%200s has no associated address class(R~R(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�RscCs|jS(N(Rj(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�Zsccs�|j|jks+td||f��nt|t�sMtd|��n|j|�sutd||f��n||kr�dS|jd|j|jf�}|j �\}}x�||kr?||kr?|j|�r�|V|j �\}}q�|j|�r#|V|j �\}}q�t d|||f��q�W||krT|Vn-||krh|Vnt d|||f��dS(u�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') list(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') list(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. u%%s and %s are not of the same versionu%s is not a network objectu%s not contained in %sNu%s/%su3Error performing exclusion: s1: %s s2: %s other: %s( RiRRRRst subnet_ofR2R�RlR�RfR(RRts1ts2((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytaddress_exclude^s6$   cCs�|j|jkr+td||f��n|j|jkrAdS|j|jkrWdS|j|jkrmdS|j|jkr�dSdS(u�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. u"%s and %s are not of the same typei����ii(RiRRRlR�(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytcompare_networks�s!cCs|j|j|jfS(u�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(). (RiRlR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRt�sic cs4|j|jkr|VdS|dk rp||jkrEtd��n|dkr`td��n||j}n|dkr�td��n|j|}||jkr�td||f��nt|j�}t|j�d}t|j�d|?}x4t|||�D] }|j ||f�}|Vq WdS(u�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) Nunew prefix must be longeriu(cannot set prefixlen_diff and new_prefixiuprefix length diff must be > 0u0prefix length diff %d is invalid for netblock %s( RjRTR`R2R�RlRdR�RR�( Rtprefixlen_difft new_prefixt new_prefixlenRRRtnew_addrtcurrent((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRf�s,    cCs�|jdkr|S|dk rh||jkr=td��n|dkrXtd��n|j|}n|j|}|dkr�td|j|f��n|jt|j�t|j�|>@|f�S(u�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) iunew prefix must be shorteriu(cannot set prefixlen_diff and new_prefixu;current prefixlen is %d, cannot have a prefixlen_diff of %dN(RjR`R2R�R�R�RlR�(RR�R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR^s     cCs|jjo|jjS(u�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. (Rlt is_multicastRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�As cCsp|j|jkrtSt|d�rVt|d�rV|j|jkoU|j|jkStdt|���dS(Nunetwork_addressubroadcast_addressu9Unable to test subnet containment with element of type %s(RiR�thasattrRlRdRRR~(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�MscCsp|j|jkrtSt|d�rVt|d�rV|j|jkoU|j|jkStdt|���dS(Nunetwork_addressubroadcast_addressu9Unable to test subnet containment with element of type %s(RiR�R�RlRdRRR~(RR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt supernet_of[scCs|jjo|jjS(u�Test if the address is otherwise IETF reserved. Returns: A boolean, True if the address is within one of the reserved IPv6 Network ranges. (Rlt is_reservedRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�is cCs|jjo|jjS(u�Test if the address is reserved for link-local. Returns: A boolean, True if the address is reserved per RFC 4291. (Rlt is_link_localRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�us cCs|jjo|jjS(u�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. (Rlt is_privateRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs|j S(u�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. (R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt is_global�s cCs|jjo|jjS(u�Test if the address is unspecified. Returns: A boolean, True if this is the unspecified address as defined in RFC 2373 2.5.2. (Rltis_unspecifiedRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs|jjo|jjS(u�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. (Rlt is_loopbackRd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s N(&R)R*R-R�R�R�R�R�R�R$R R�R�R�R�RdR�R�R�R�R�R�R�R�R�RtR`RfR^R�R�R�R�R�R�R�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRs�sD          K 0 5)       R�c Bs�eZdZdZdZdedZed�Zeddddd d d d d g �Z eZ iZ d�Z e d��Ze d��Ze d��Ze d��Zd�Zd�Zed��Zed��ZRS(uyBase IPv4 object. The following methods are used by IPv4 objects in both single IP addresses and networks. iiiu 0123456789i�i�i�i�i�i�i�i�icCs t|�S(N(R?(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRy�scCs�||jkr�t|t�r'|}n6y|j|�}Wn tk r\|j|�}nXt|j|��}||f|j|<n|j|S(uMake a (netmask, prefix_len) tuple from the given argument. Argument can be: - an integer (the prefix length) - a string representing the prefix length (e.g. "24") - a string representing the prefix netmask (e.g. "255.255.255.0") (t_netmask_cacheRRR�R.R�R/R�(R�targR�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt _make_netmask�s   cCs�|std��n|jd�}t|�dkrItd|��nytt|j|�d�SWn)tk r�}td||f��nXdS(uTurn 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. uAddress cannot be emptyu.iuExpected 4 octets in %rubigu%s in %rN(R,R@RAR tmapt _parse_octetR2(R�R�toctetstexc((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs�|std��n|jj|�s@d}t||��nt|�dkrkd}t||��nt|d�}|dkr�|ddkr�d }t||��n|d kr�td |��n|S( u 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]. uEmpty octet not permittedu#Only decimal digits permitted in %riu$At most 3 characters permitted in %ri iiu0u3Ambiguous (octal/decimal) value in %r not permittedi�uOctet %d (> 255) not permitted(R2R�R�RAR�(R�t octet_strRt octet_int((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs#djd�t|dd�D��S(u�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. u.css@|]6}tt|t�r1tjd|�dn|�VqdS(s!BiN(R?RR1RR(t.0R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pys <genexpr>-siubig(tjoinR(R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�"s cCs�|jd�}y5gtt|�D]}||jkr"|^q"}Wntk rXtSXt|�t|�krutS|d|dkr�tStS(u�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. u.ii����(R@R�R�t_valid_mask_octetsR2R�RAtTrue(RR�ROR�tparts((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt _is_hostmask2s 5 cCs3t|�jd�ddd�}dj|�dS(u�Return the reverse DNS pointer name for the IPv4 address. This implements the method described in RFC1035 3.5. u.Ni����u .in-addr.arpa(R?R@R�(Rtreverse_octets((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR|Gs"cCs|jS(N(RT(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt max_prefixlenPscCs|jS(N(Ri(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRSTs((R)R*R-R+Rit IPV4LENGTHRUt frozensetR�R�RTR�RyR�R�R�R�R�R�R|R�R�RS(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s" ' %  R/cBs�eZdZd Zd�Zed��Zed��Zed��Zed��Z ed��Z ed ��Z ed ��Z ed ��Z RS( u/Represent and manipulate single IPv4 Addresses.u_ipu __weakref__cCs�t|t�r)|j|�||_dSt|t�rj|j|d�t|�}t|d�|_dSt|�}d|kr�t d|��n|j |�|_dS(u� 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. Niubigu/uUnexpected '/' in %r( RRR�RFR1R�RR R?R,R�(RR3tbvstaddr_str((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�_s     cCs t|j�S(u*The binary representation of this address.(R=RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytpacked�scCs||jjkS(u�Test if the address is otherwise IETF reserved. Returns: A boolean, True if the address is within the reserved IPv4 Network range. (t _constantst_reserved_network(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cs t�fd��jjD��S(u�Test if this address is allocated for private networks. Returns: A boolean, True if the address is reserved per iana-ipv4-special-registry. c3s|]}�|kVqdS(N((R�RZ(R(s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pys <genexpr>�s(tanyR�t_private_networks(R((Rs9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs||jjko|j S(N(R�t_public_networkR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs||jjkS(u�Test if the address is reserved for multicast use. Returns: A boolean, True if the address is multicast. See RFC 3171 for details. (R�t_multicast_network(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs||jjkS(u�Test if the address is unspecified. Returns: A boolean, True if this is the unspecified address as defined in RFC 5735 3. (R�t_unspecified_address(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s cCs||jjkS(u�Test if the address is a loopback address. Returns: A boolean, True if the address is a loopback per RFC 3330. (R�t_loopback_network(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs||jjkS(u�Test if the address is reserved for link-local. Returns: A boolean, True if the address is link-local per RFC 3927. (R�t_linklocal_network(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s(u_ipu __weakref__(R)R*R-R+R�R�R�R�R�R�R�R�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR/Ys $     R9cBszeZd�Zd�Zd�Zd�Zd�ZejZe d��Z e d��Z e d��Z e d��Z RS( cCs;t|ttf�rGtj||�t|j�|_|j|_ dSt|t �r�tj||d�t |�dkr�t |d�|_ n |j|_ t|dt �|_|jj|_|jj|_dSt|�}tj||d�t|dt �|_|jj |_ |jj|_|jj|_dS(NiiR7(RR1RR/R�R5RFR�RTRjttupleRAR�R�R�R�RC(RR3RB((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s(   cCs d|j|j�|jjfS(Nu%s/%d(R�RFR�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCsVtj||�}| s%|tkr)|Sy|j|jkSWntk rQtSXdS(N(R/R R!R�RkR�(RRt address_equal((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR �s cCsOtj||�}|tkr"tSy|j|jkSWntk rJtSXdS(N(R/R$R!R�RkR�(RRt address_less((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR$�s  cCs|j|jAt|jj�AS(N(RFRjR�R�Rl(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�scCs t|j�S(N(R/RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRK scCsd|j|j�|jfS(Nu%s/%s(R�RFRj(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�scCsd|j|j�|jfS(Nu%s/%s(R�RFR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�scCsd|j|j�|jfS(Nu%s/%s(R�RFR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�s(R)R*R�R�R R$R�RxR�R�RKR�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR9�s    R5cBs/eZdZeZed�Zed��ZRS(ueThis 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 cCstj||�t|ttf�rVt|�|_|j|j�\|_ |_ dSt|t �rt |�dkr�|d}n |j}t|d�|_|j|�\|_ |_ t |j�}|t |j �@|kr|r�td|��qt|t |j �@�|_ndSt|�}t|j|d��|_t |�dkrf|d}n |j}|j|�\|_ |_ |r�tt |j�t |j �@�|jkr�td|��q�ntt |j�t |j �@�|_|j |jdkr|j|_ndS(uInstantiate 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. Niiu%s has host bits seti(RsR�RRR1R/RlR�RTR�RjR�RAR�R2RCR�R�R�(RR3R7R�R�RB((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�0sB%      cCs3|jtd�ko'|jtd�k o2|j S(u�Test if this address is allocated for public networks. Returns: A boolean, True if the address is not reserved per iana-ipv4-special-registry. u 100.64.0.0/10(RlR5RdR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s ( R)R*R-R/R�R�R�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR5!s  Ut_IPv4ConstantscBs�eZed�Zed�Zed�Zed�Zed�ed�ed�ed�ed�ed�ed�ed �ed �ed �ed �ed �ed�ed�gZed�Ze d�Z RS(u169.254.0.0/16u 127.0.0.0/8u 224.0.0.0/4u 100.64.0.0/10u 0.0.0.0/8u 10.0.0.0/8u 172.16.0.0/12u 192.0.0.0/29u192.0.0.170/31u 192.0.2.0/24u192.168.0.0/16u 198.18.0.0/15u198.51.100.0/24u203.0.113.0/24u 240.0.0.0/4u255.255.255.255/32u0.0.0.0( R)R*R5R�R�R�R�R�R�R/R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s(                  t_BaseV6cBs�eZdZdZdZdedZdZed�Z eZ iZ e d��Z e d��Ze d��Ze d ��Ze dd ��Zd �Zd �Zed ��Zed��ZRS(uyBase IPv6 object. The following methods are used by IPv6 objects in both single IP addresses and networks. iiiiu0123456789ABCDEFabcdefcCsl||jkrat|t�r'|}n|j|�}t|j|��}||f|j|<n|j|S(uMake a (netmask, prefix_len) tuple from the given argument. Argument can be: - an integer (the prefix length) - a string representing the prefix length (e.g. "24") - a string representing the prefix netmask (e.g. "255.255.255.0") (R�RRR�R0R�(R�R�R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s  cCs�|std��n|jd�}d}t|�|kr[d||f}t|��nd|dkr�yt|j��j}Wn)tk r�}td||f��nX|jd|d ?d @�|jd|d @�n|jd }t|�|kr#d |d |f}t|��nd}xYt d t|�d �D]>} || sC|dk rxd |}t|��n| }qCqCW|dk r]|} t|�|d } |ds�| d 8} | r�d}t||��q�n|ds| d 8} | rd}t||��qn|j| | } | d kr�d}t||jd |f��q�n�t|�|jkr�d}t||j|f��n|ds�d}t||��n|ds�d}t||��nt|�} d} d} y�d} x5t | �D]'} | d K} | |j || �O} qW| d | K} x9t | d�D]'} | d K} | |j || �O} qRW| SWn)t k r�}td||f��nXdS(u�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. uAddress cannot be emptyu:iu At least %d parts expected in %ru.i����u%s in %ru%xii��iu!At most %d colons permitted in %ru At most one '::' permitted in %riu0Leading ':' only permitted as part of '::' in %ru1Trailing ':' only permitted as part of '::' in %ru/Expected at most %d other parts with '::' in %ru,Exactly %d parts expected without '::' in %rN( R,R@RAR/R]RFRat _HEXTET_COUNTR`Rtranget _parse_hextetR2(R�R�R�t _min_partsRtipv4_intR�t _max_partst skip_indexRtparts_hitparts_lot parts_skippedR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s�            #     cCs]|jj|�s%td|��nt|�dkrPd}t||��nt|d�S(u&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]. uOnly hex digits permitted in %riu$At most 4 characters permitted in %ri(t _HEX_DIGITSR�R2RAR�(R�t hextet_strR((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�Es c Cs�d}d}d}d}xot|�D]a\}}|dkrz|d7}|dkr\|}n||kr�|}|}q�q%d}d}q%W|dkr�||}|t|�kr�|dg7}ndg|||+|dkr�dg|}q�n|S(u�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. i����iu0iu(t enumerateRA( R�thextetstbest_doublecolon_starttbest_doublecolon_lentdoublecolon_starttdoublecolon_lentindexthextettbest_doublecolon_end((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt_compress_hextets_s.         cCs�|d krt|j�}n||jkr<td��nd|}gtddd�D]$}dt|||d!d�^qY}|j|�}dj|�S( u,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. uIPv6 address is too largeu%032xii iu%xiu:N(R`R�RFRUR2R�RR�(R�R�thex_strR�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s  =cCs�t|t�r!t|j�}n-t|t�rBt|j�}n t|�}|j|�}d|}gtddd�D]}|||d!^qz}t|ttf�r�ddj |�|j fSdj |�S(u�Expand a shortened IPv6 address. Args: ip_str: A string, the IPv6 address. Returns: A string, the expanded IPv6 address. u%032xii iu%s/%du:( RR6R?RlR:RKR�R�RsR�Rj(RR�R�RR�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRy�s   0cCs3|jddd�jdd�}dj|�dS(u�Return the reverse DNS pointer name for the IPv6 address. This implements the method described in RFC3596 2.5. Ni����u:uu.u .ip6.arpa(RztreplaceR�(Rt reverse_chars((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR|�s"cCs|jS(N(RT(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs|jS(N(Ri(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRS�s(N(R)R*R-R+Rit IPV6LENGTHRUR�R�R�RTR�R�R�R�R�RR`R�RyR|R�R�RS(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s$ i0  R0cBs�eZdZdZd�Zed��Zed��Zed��Zed��Z ed��Z ed ��Z ed ��Z ed ��Z ed ��Zed ��Zed��Zed��ZRS(u/Represent and manipulate single IPv6 Addresses.u_ipu __weakref__cCs�t|t�r)|j|�||_dSt|t�rj|j|d�t|�}t|d�|_dSt|�}d|kr�t d|��n|j |�|_dS(uInstantiate 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. Niubigu/uUnexpected '/' in %r( RRR�RFR1R�RR R?R,R�(RR3R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s     cCs t|j�S(u*The binary representation of this address.(R>RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs||jjkS(u�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. (R�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�s cs t�fd��jjD��S(u�Test if the address is otherwise IETF reserved. Returns: A boolean, True if the address is within one of the reserved IPv6 Network ranges. c3s|]}�|kVqdS(N((R�R�(R(s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pys <genexpr>s(R�R�t_reserved_networks(R((Rs9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�s cCs||jjkS(u�Test if the address is reserved for link-local. Returns: A boolean, True if the address is reserved per RFC 4291. (R�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�scCs||jjkS(u`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. (R�t_sitelocal_network(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt is_site_local#s cs t�fd��jjD��S(u�Test if this address is allocated for private networks. Returns: A boolean, True if the address is reserved per iana-ipv6-special-registry. c3s|]}�|kVqdS(N((R�RZ(R(s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pys <genexpr>:s(R�R�R�(R((Rs9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�1s cCs|j S(u�Test if this address is allocated for public networks. Returns: A boolean, true if the address is not reserved per iana-ipv6-special-registry. (R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�<s cCs |jdkS(u�Test if the address is unspecified. Returns: A boolean, True if this is the unspecified address as defined in RFC 2373 2.5.2. i(RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�Gs cCs |jdkS(u�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. i(RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�Rs cCs(|jd?dkrdSt|jd@�S(u�Return the IPv4 mapped address. Returns: If the IPv6 address is a v4 mapped address, return the IPv4 mapped address. Return None otherwise. i i��I����N(RFR`R/(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt ipv4_mapped]s cCs@|jd?dkrdSt|jd?d@�t|jd@�fS(u�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) i`i i@I����N(RFR`R/(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pytteredojs cCs,|jd?dkrdSt|jd?d@�S(u�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. ipi iPI����N(RFR`R/(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt sixtofourys (u_ipu __weakref__(R)R*R-R+R�R�R�R�R�R�R R�R�R�R�RRR(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR0�s %        R:cBs�eZd�Zd�Zd�Zd�Zd�ZejZe d��Z e d��Z e d��Z e d��Z e d ��Ze d ��ZRS( cCs;t|ttf�rGtj||�t|j�|_|j|_ dSt|t �r�tj||d�t |�dkr�t |d�|_ n |j|_ t|dt �|_|jj|_|jj|_dSt|�}tj||d�t|dt �|_|jj|_|jj |_ |jj|_dS(NiiR7(RR1RR0R�R6RFR�RTRjR�RAR�R�R�R�RC(RR3RB((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s(   cCs d|j|j�|jjfS(Nu%s/%d(R�RFR�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCsVtj||�}| s%|tkr)|Sy|j|jkSWntk rQtSXdS(N(R0R R!R�RkR�(RRR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR �s cCsOtj||�}|tkr"tSy|j|jkSWntk rJtSXdS(N(R0R$R!R�RkR�(RRR�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR$�s  cCs|j|jAt|jj�AS(N(RFRjR�R�Rl(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs t|j�S(N(R0RF(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRK�scCsd|j|j�|jfS(Nu%s/%s(R�RFRj(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCsd|j|j�|jfS(Nu%s/%s(R�RFR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCsd|j|j�|jfS(Nu%s/%s(R�RFR�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs|jdko|jjS(Ni(RFR�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��scCs|jdko|jjS(Ni(RFR�R�(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��s(R)R*R�R�R R$R�RxR�R�RKR�R�R�R�R�(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR:�s    R6cBs8eZdZeZed�Zd�Zed��Z RS(uvThis 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 cCstj||�t|ttf�rVt|�|_|j|j�\|_ |_ dSt|t �rt |�dkr�|d}n |j}|j|�\|_ |_ t|d�|_t |j�}|t |j �@|kr|r�td|��qt|t |j �@�|_ndSt|�}t|j|d��|_t |�dkrf|d}n |j}|j|�\|_ |_ |r�tt |j�t |j �@�|jkr�td|��q�ntt |j�t |j �@�|_|j |jdkr|j|_ndS(u�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. Niiu%s has host bits seti(RsR�RR1RR0RlR�RTR�RjR�RAR�R2RCR�R�R�(RR3R7R�R�RB((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR��sB       ccsRt|j�}t|j�}x-t|d|d�D]}|j|�Vq6WdS(u�Generate Iterator over usable hosts in a network. This is like __iter__ except it doesn't return the Subnet-Router anycast address. iN(R�RlRdRR�(RR�R�R�((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR�< scCs|jjo|jjS(u`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. (RlR Rd(R((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR H s ( R)R*R-R0R�R�R�R�R�R (((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyR6�s   O t_IPv6ConstantscBseZed�Zed�Zed�ed�ed�ed�ed�ed�ed�ed �ed �ed�g Zed �ed �ed �ed�ed�ed�ed�ed�ed�ed�ed�ed�ed�ed�ed�gZed�ZRS(u fe80::/10uff00::/8u::1/128u::/128u ::ffff:0:0/96u100::/64u 2001::/23u 2001:2::/48u 2001:db8::/32u 2001:10::/28ufc00::/7u::/8u100::/8u200::/7u400::/6u800::/5u1000::/4u4000::/3u6000::/3u8000::/3uA000::/3uC000::/3uE000::/4uF000::/5uF800::/6uFE00::/9u fec0::/10(R)R*R6R�R�R�R R (((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyRX s*           (9R-t __future__RRRt __version__R�Rtlongt NameErrortunicodeR?tstrR1RRt from_bytesR RkRR�RRtobjectRR�R R2R,R.R4R�R8R;R=R>RCRLRPR[RhRrRwRxRQRsR�R/R9R5R�R�R�R0R:R6R(((s9/usr/lib/python2.7/site-packages/pip/_vendor/ipaddress.pyt<module> sx              ) $ $ #      7 1 6 �=���vRr ��V{!