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.
Metadata
Release files for MacToManufacturer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| MacToManufacturer-0.2.0.tar.gz | 663.9 kB | Without provenance | Details for MacToManufacturer-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MacToManufacturer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for MacToManufacturer-0.2.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / MacToManufacturer-0.2.0.tar.gz
| Download URL | MacToManufacturer-0.2.0.tar.gz |
|---|---|
| Size | 663.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6ec191aeb672c389cf376ceb2f2a5313ae45b70243d77e19e9dffc01cdbe42f
|
|
BLAKE2b-256 checksum How to use checksums |
367d3e65080cfe3b8e8625e8c1bb613115e20688a8697751b37515beefa2335d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / MacToManufacturer-0.2.0-py3-none-any.whl
| Download URL | MacToManufacturer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 666.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8416a6a8352b1fd588b2d5d7e8a5b51b84e3ea9e32ef51eccc76d531b2bb8c64
|
|
BLAKE2b-256 checksum How to use checksums |
3c98739808ac5ae1af3a30da86fa602770301c127b781669a57e1b6e47fafcca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for MacToManufacturer 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.