Skip to main content

Library to find manufacturer of a device using macaddress.

Project description

MacToManufacturer

A simple python library to find the manufacturer of a device by using macaddress.

How to use:

Example:

from MacToManufacturer import MacToMan

macToManObj = MacToMan()
results = macToManObj.search("A8-93-4A-DA-6F-19")
print(results)

You can also pass the macaddress seprated by ":"

from MacToManufacturer import MacToMan

macToManObj = MacToMan()
results = macToManObj.search("A8:93:4A:DA:6F:19")
print(results)

Installation:

pip3 install MacToManufacturer

How does this work?

This library contains csv file which contains the starting 3 octlets and the manufacturer. MacToMan searches through this csv file and returns the manufacturer.

How the csv is generated?

Wireshark has a file which contains all the IEEE lists of mac addresses and manufacturers & more. The file is names manuf. There is a script named as generate_csv.py in script/, It downloads the latest manuf file and converts it to a csv file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MacToManufacturer-0.2.0.tar.gz (663.9 kB view hashes)

Uploaded Source

Built Distribution

MacToManufacturer-0.2.0-py3-none-any.whl (666.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page