import socket
import struct


def int_to_ip(addr):
    """
    Converts a the numeric representation of an ip address
    to an ip address strin

    Example:
    >>> int_to_ip(2130706433)
    '127.0.0.1'
    """
    return socket.inet_ntoa(struct.pack("!I", addr))