Package netaddr :: Package ip :: Module rfc1924
[hide private]
[frames] | no frames]

Module rfc1924

A basic implementation of RFC 1924 ;-)

Functions [hide private]
 
chr_range(low, high)
Returns all characters between low and high chars.
 
ipv6_to_base85(addr)
Convert a regular IPv6 address to base 85.
 
base85_to_ipv6(addr)
Convert a base 85 IPv6 address to its hexadecimal format.
Variables [hide private]
  BASE_85 = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '...
  BASE_85_DICT = {'!': 62, '#': 63, '$': 64, '%': 65, '&': 66, '...
  __package__ = 'netaddr.ip'
Variables Details [hide private]

BASE_85

Value:
['0',
 '1',
 '2',
 '3',
 '4',
 '5',
 '6',
 '7',
...

BASE_85_DICT

Value:
{'!': 62,
 '#': 63,
 '$': 64,
 '%': 65,
 '&': 66,
 '(': 67,
 ')': 68,
 '*': 69,
...