[plum.ipv4] Module Reference

Interpret bytes as IPV4 address.

class plum.ipv4.IpV4Address(address)

IPV4 address, little endian format.

Parameters:address (str or int or iterable) – IP address
class plum.ipv4.IpV4AddressType(name, bases, namespace, byteorder=None)

IPV4 address metaclass.

Create custom IpV4Address subclass.

Parameters:byteorder (str) – 'big' or 'little'