将MAC地址转换为供应商信息/名称!
mac2vendors的Python项目详细描述
将MAC地址转换为供应商信息/名称!
安装
pip install mac2vendors
用法
mtv --help usage: mtv [-h] {mac} ... positional arguments: {mac} [command] help mac Translates the mac address to a vendor mapping. optional arguments: -h, --help show this help message and exit
原始使用量
从代码使用
from mac2vendors import get_mac_vendor vendor_list = get_vendor(mac_address="00:00:00") print(vendor_list) [['00:00:00', '00:00:00', 'Officially Xerox, but 0:0:0:0:0:0 is more common']]