Library allows send arp/rarp request in your LAN network.
A few motivating and useful examples of how arpy can be used.
from arpy import arp_request
# returns mac address of 192.168.16.20
arp_request(dest_ip='192.168.16.20')
# you can pass your interface name as well
arp_request(interface='eth1', dest_ip='192.168.16.20')This library provides fetch your mac address by the interface name
from arpy import get_mac
get_mac() # Default eth0
get_mac(interface='eth1')- 1.0
- arp request.
- get your mac address
- tests.
Piotr Markiewicz – @LinkedIn – [email protected]
Distributed under the MIT license. See LICENSE for more information.
- Fork it (https://github.com/sectasy0/arpy)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request