getmac · PyPI
https://pypi.org/project/getmac10.12.2021 · getmac --help getmac --version # Invoking with no arguments will return MAC of the default interface getmac # Usage as a module python3 -m getmac # Interface names, IPv4/IPv6 addresses, or Hostnames can be specified getmac --interface ens33 getmac --ip 192.168.0.1 getmac --ip6 ::1 getmac --hostname home.router # Running as a Python module with …