Convert mac addresses to vendor information/ names !
Project description
mac2vendors
====
Convert mac addresses to vendor information/ names !
Installation
------------
``pip install mac2vendors``
Usage
-----
::
mtv --help
usage: mtv [-h] {write,mac} ...
positional arguments:
{write,mac} [command] help
write Write the vendor mapping json destination to the file path
given via --path.Defaults to vendors.json
mac Translates the mac address to a vendor mapping.
optional arguments:
-h, --help show this help message and exit
Raw Usage
---------
Use from code
~~~~~~~~~~~~~
::
from mac2vendors.mac2vendors import get_mac_vendor
vendor_list = get_mac_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']]
====
Convert mac addresses to vendor information/ names !
Installation
------------
``pip install mac2vendors``
Usage
-----
::
mtv --help
usage: mtv [-h] {write,mac} ...
positional arguments:
{write,mac} [command] help
write Write the vendor mapping json destination to the file path
given via --path.Defaults to vendors.json
mac Translates the mac address to a vendor mapping.
optional arguments:
-h, --help show this help message and exit
Raw Usage
---------
Use from code
~~~~~~~~~~~~~
::
from mac2vendors.mac2vendors import get_mac_vendor
vendor_list = get_mac_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']]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mac2vendors-1.1.0.tar.gz
(17.2 kB
view hashes)