import struct
import socket
import ipaddress


def parse_ipv4_address(ipv4_hex):
    """
    Convert /proc IPv4 hex address into standard IPv4 notation.

        :param ipv4_hex: IPv4 string in hex format
        :return: IPv4Address object
    """
    ipv4 = int(ipv4_hex, 16)
    # pack IPv4 address in system native byte order, 4-byte integer
    packed = struct.pack("=L", ipv4)
    # convert the IPv4 address from binary to text form
    ascii_ipv4_address = socket.inet_ntop(socket.AF_INET, packed)
    return ipaddress.ip_address(ascii_ipv4_address)