Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.11 KB

README.md

File metadata and controls

72 lines (46 loc) · 2.11 KB

pymanuf

PyPi Badge PyPi Supported Versions Badge CI Badge

Discord Server Badge Last Commit Badge Conventional Commits Badge


A very simple Python library to get the manufacturer of a specific MAC address

Getting Started

Installation

If you want to use this library for one of your projects, you can install it like any other Python library

python -m pip install pymanuf

Versioning

The versioning of the library is the following: YYYY.MM.DD where the leading 0 is removed.

Versions are automatically released every month on the first day of that month.

Example Usage

Offline Lookup (preferred)

from pymanuf import lookup

try:
    manuf = lookup("C4:A8:1D:73:D7:8C")
    print(f"Manufacturer: {manuf}")
except Exception as e:
    print(f"Error: {e}")

Online Lookup

from pymanuf.online import lookup

try:
    manuf = lookup("C4:A8:1D:73:D7:8C")
    print(f"Manufacturer: {manuf}")
except Exception as e:
    print(f"Error: {e}")

Troubleshooting

If you have problems using the library, you can open up an issue or join my Discord server.

Contributing

People may contribute by following the Contributing Guidelines and the Code of Conduct

License

This library was made with 💜 by Krypton and is under the MIT License.