Features
- Validate MAC Address / OUI (patterns are bellow)
- Get the manufacture of af a single or multiple MAC address/OUI
- Import it in your script/program or use it as CLI program
python-macvendor
Installation
pip install macvendor
Basic Usage
As CLI program
$ macvendor.py 30:8d:99:15:c8:9A 00:01:42
Mac Vendor 30:8d:99:15:c8:9A Hewlett Packard 00-01-52-55-33-34 Chromatek Inc. 00:01:42 Cisco Systems, Inc
As library
from macvendor import getVendor
print(getVendor("30:8d:99:15:c8:9A"))
['30:8d:99:15:c8:9A', 'Hewlett Packard']
from macvendor import getVendorList
print(getVendorList(["30:8d:99:15:c8:9A", "00:01:42", "00-01-52-55-33-34"]))
{'30:8d:99:15:c8:9A': 'Hewlett Packard', '00:01:42': 'Cisco Systems, Inc', '00-01-52-55-33-34': 'Chromatek Inc.'}
3d party Dependencies
Usage as library
No Dependencies
Usage in command line
Tabulate 0.8.6
MAC / OUI accepted formats
note: all patternes are case insensetive
XX:XX:XX:XX:XX:XX
XX-XX-XX-XX-XX-XX
XX.XX.XX.XX.XX.XX
XXXXXXXXXXXX
XX:XX:XX:FF:FE:XX:XX:XX
XX-XX-XX-FF-FE-XX-XX-XX
XX.XX.XX.FF.FE.XX.XX.XX
XXX:XXX:XXX:XXX
XXX-XXX-XXX-XXX
XXX.XXX.XXX.XXX
XXXX:XXFF:FEXX:XXXX
XXXX-XXFF-FEXX-XXXX
XXXX.XXFF.FEXX.XXXX
XXXXXXFFFEXXXXXX
XXX:XXX:XXX:XXX
XXX-XXX-XXX-XXX
XXX.XXX.XXX.XXX
XXXX:XXFF:FEXX:XXXX
XXXX-XXFF-FEXX-XXXX
XXXX.XXFF.FEXX.XXXX
Version History
1.0.12 : Refactoring command line arguments and options.
1.0.11 : Initial PyPI release.
Metadata
Release files for macvendor 1.0.12
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 |
|---|---|---|---|---|
| macvendor-1.0.12.linux-x86_64.tar.gz | 408.0 kB | Without provenance | Details for macvendor-1.0.12.linux-x86_64.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| macvendor-1.0.12-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for macvendor-1.0.12-py2.py3-none-any.whl |
Total release size: 817.5 kB
Release files / macvendor-1.0.12.linux-x86_64.tar.gz
| Download URL | macvendor-1.0.12.linux-x86_64.tar.gz |
|---|---|
| Size | 408.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d821ce6d84ef4794d3730809116799d48e8ebbbb93625b73cae669cf3d7003fa
|
|
BLAKE2b-256 checksum How to use checksums |
cc0b8bbf2488b7c1497ab9198afa81f820fdf57a805e997f30669e0087120e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Release files / macvendor-1.0.12-py2.py3-none-any.whl
| Download URL | macvendor-1.0.12-py2.py3-none-any.whl |
|---|---|
| Size | 409.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
659c1a31a793b70153348342699ef0001a12248025c14d269075d21c9f7a1a6b
|
|
BLAKE2b-256 checksum How to use checksums |
fda0d56c7781a96fa96af71cbea1dd7888dc40bd32bd75c3ef55817415515c4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Security for macvendor 1.0.12
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.