[hide private]
[frames] | no frames]

[ Module Hierarchy | Class Hierarchy ]

# Class Hierarchy

- object: The most base type
  - exceptions.BaseException: Common base class for all exceptions
    - exceptions.Exception: Common base class for all non-exit exceptions.
      - netaddr.core.AddrConversionError: An Exception indicating a failure to convert between address types or notations.
      - netaddr.core.AddrFormatError: An Exception indicating a network address is not correctly formatted.
      - netaddr.core.NotRegisteredError: An Exception indicating that an OUI or IAB was not found in the IEEE Registry.
  - netaddr.ip.BaseIP: An abstract base class for common operations shared between various IP related subclasses.
    - netaddr.ip.IPAddress: An individual IPv4 or IPv6 address without a net mask or subnet prefix.
    - netaddr.ip.IPNetwork: An IPv4 or IPv6 network or subnet.
    - netaddr.ip.IPRange: An arbitrary IPv4 or IPv6 address range.
      - netaddr.ip.glob.IPGlob: Represents an IP address range using a glob-style syntax (x.x.x-y.*).
  - netaddr.eui.BaseIdentifier: Base class for all IEEE identifiers.
    - netaddr.eui.EUI: An IEEE EUI (Extended Unique Identifier).
    - netaddr.eui.IAB: An individual IEEE IAB (Individual Address Block) identifier.
    - netaddr.eui.OUI: An individual IEEE OUI (Organisationally Unique Identifier).
  - netaddr.core.DictDotLookup: Creates objects that behave much like a dictionaries, but allow nested key access using object '.' (dot) lookups.
  - netaddr.ip.IPListMixin: A mixin class providing shared list-like functionality to classes representing groups of IP addresses.
    - netaddr.ip.IPNetwork: An IPv4 or IPv6 network or subnet.
    - netaddr.ip.IPRange: An arbitrary IPv4 or IPv6 address range.
      - netaddr.ip.glob.IPGlob: Represents an IP address range using a glob-style syntax (x.x.x-y.*).
  - netaddr.ip.sets.IPSet: Represents an unordered collection (set) of unique IP addresses and subnets.
  - netaddr.ip.intset.IntSet: Integer set class with efficient storage in a RLE format of ranges.
  - netaddr.core.Publisher: A 'push' Publisher that maintains a list of Subscriber objects notifying them of state changes by passing them update data when it encounter events of interest.
    - netaddr.eui.ieee.IABIndexParser: A concrete Publisher that parses IAB (Individual Address Block) records from IEEE text-based registration files
    - netaddr.ip.iana.LineRecordParser: A configurable Parser that understands how to parse line based records.
      - netaddr.ip.iana.IPv4Parser: A LineRecordParser that understands how to parse and retrieve data records from the IANA IPv4 address space file.
      - netaddr.ip.iana.IPv6Parser: A LineRecordParser that understands how to parse and retrieve data records from the IANA IPv6 address space file.
      - netaddr.ip.iana.MulticastParser: A LineParser that knows how to process the IANA IPv4 multicast address allocation file.
    - netaddr.eui.ieee.OUIIndexParser: A concrete Publisher that parses OUI (Organisationally Unique Identifier) records from IEEE text-based registration files
  - netaddr.core.Subscriber: An abstract class defining the interface expected by a Publisher.
    - netaddr.ip.iana.DictUpdater: Concrete Subscriber that inserts records received from a Publisher into a dictionary.
    - netaddr.eui.ieee.FileIndexer: A concrete Subscriber that receives OUI record offset information that is written to an index data file as a set of comma separated records.
    - netaddr.core.PrettyPrinter: A concrete Subscriber that employs the pprint in the standard library to format all data from updates received, writing them to a file-like object.
  - netaddr.ip.intset._Infinity: Internal type used to represent infinity values.
  - netaddr.strategy.ipv6.ipv6_compact: An IPv6 dialect class - compact form.
    - netaddr.strategy.ipv6.ipv6_full: An IPv6 dialect class - 'all zeroes' form.
    - netaddr.strategy.ipv6.ipv6_verbose: An IPv6 dialect class - extra wide 'all zeroes' form.
  - netaddr.strategy.eui48.mac_eui48: A standard IEEE EUI-48 dialect class.
    - netaddr.strategy.eui48.mac_bare: A bare (no delimiters) MAC address dialect class.
    - netaddr.strategy.eui48.mac_cisco: A Cisco 'triple hextet' MAC address dialect class.
    - netaddr.strategy.eui48.mac_pgsql: A PostgreSQL style (2 x 24-bit words) MAC address dialect class.
    - netaddr.strategy.eui48.mac_unix: A UNIX-style MAC address dialect class.