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.1.0.tar.gz
.
File metadata
- Download URL: MacToManufacturer-0.1.0.tar.gz
- Upload date:
- Size: 641.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6bc4b01d0e5bae865b0f1f0738711faade90885d6668cb47f2b991e0dfbefef |
|
MD5 | 3da56e49bcebb6da5f365d61f88efeef |
|
BLAKE2b-256 | b0a4cda340d596fb9030d9cb7cbfe009d9ea50c195199b7e216c7ad3b5b40129 |
File details
Details for the file MacToManufacturer-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: MacToManufacturer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 645.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9926994ca9184740bd87f5652d0f7917c2df25bddcf7a6ca5e6a7d169c2dfeb1 |
|
MD5 | 2d7fddb5d9ab08a164fba78fcab16c2a |
|
BLAKE2b-256 | 9ec0b85b92f1bdf937cb61e0b8711f7996b92320c9d5e3b0094801e9bca2641e |