Metadata-Version: 2.4
Name: pymanuf
Version: 2025.9.1
Summary: 📇 A very simple Python library to get the manufacturer of a specific MAC address
Author-email: Krypton <root@krypton.ninja>
License: MIT License
        
        Copyright (c) 2025 Krypton
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/kkrypt0nn/pymanuf
Project-URL: Issues, https://github.com/kkrypt0nn/pymanuf/issues
Project-URL: Source, https://github.com/kkrypt0nn/pymanuf
Keywords: networking,networks,mac address,manufacturer,mac address manufacturer
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Networking
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: requests
Dynamic: license-file

<div align="center">

# pymanuf

[![Discord Server Badge](https://img.shields.io/discord/1358456011316396295?logo=discord)](https://discord.gg/xj6y5ZaTMr)
[![PyPi Badge](https://img.shields.io/pypi/v/pymanuf.svg)](https://pypi.org/p/pymanuf)
[![PyPi Supported Versions Badge](https://img.shields.io/pypi/pyversions/pymanuf.svg)](https://pypi.org/p/pymanuf)
[![CI Badge](https://github.com/kkrypt0nn/pymanuf/actions/workflows/ci.yml/badge.svg)](https://github.com/kkrypt0nn/pymanuf/actions)

[![Last Commit Badge](https://img.shields.io/github/last-commit/kkrypt0nn/pymanuf)](https://github.com/kkrypt0nn/pymanuf/commits/main)
[![Conventional Commits Badge](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org/en/v1.0.0/)

</div>

---

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

```bash
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)

```python
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

```python
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](https://github.com/kkrypt0nn/pymanuf/issues) or join my [Discord server](https://discord.gg/xj6y5ZaTMr).

## Contributing

People may contribute by following the [Contributing Guidelines](./CONTRIBUTING.md) and
the [Code of Conduct](./CODE_OF_CONDUCT.md)

## License

This library was made with 💜 by Krypton and is under the [MIT License](./LICENSE.md).
