MAC to IP

https://img.shields.io/pypi/v/mac_to_ip.svg https://api.travis-ci.com/cartovarc/mac-to-ip.svg?branch=master Documentation Status https://pepy.tech/badge/mac-to-ip/month

Find ip addresses with known MAC addresses

Dependencies

$ sudo apt-get install net-tools
$ sudo apt-get install nmap

Install from PyPI

$ pip install mac-to-ip

Usage example

from mac_to_ip import mac_to_ip

device_macs = {
        "camera1": "00:A0:C9:14:C8:27",
        "camera2": "00:A0:C9:14:C8:28",
        "camera3": "00:A0:C9:14:C8:29"
}

print(mac_to_ip(device_macs))

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.