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
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
Built Distribution
File details
Details for the file MacToManufacturer-0.2.0.tar.gz
.
File metadata
- Download URL: MacToManufacturer-0.2.0.tar.gz
- Upload date:
- Size: 663.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ec191aeb672c389cf376ceb2f2a5313ae45b70243d77e19e9dffc01cdbe42f |
|
MD5 | d7c1fbecd21b5e447b5096a54f313c72 |
|
BLAKE2b-256 | 367d3e65080cfe3b8e8625e8c1bb613115e20688a8697751b37515beefa2335d |
File details
Details for the file MacToManufacturer-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: MacToManufacturer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 666.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8416a6a8352b1fd588b2d5d7e8a5b51b84e3ea9e32ef51eccc76d531b2bb8c64 |
|
MD5 | c644a815fc496603ed694c63199a8f5e |
|
BLAKE2b-256 | 3c98739808ac5ae1af3a30da86fa602770301c127b781669a57e1b6e47fafcca |