Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Console tool to make a MAC vendor lookups

Project description

A command-line utility to lookup info related to a MAC address or OUI, such as vendor name and address, based on the MAC Address API.

Installation

$ pip install maclookup-cli

User Install

You can also perform a user installation via

$ pip install maclookup-cli —user

For user installs on macOS make sure ~/Library/Python/<ver>/bin is in your $PATH, i.e. edit the PATH= line in ~/.bashrc or ~/.bash_profile, e.g. PATH=$PATH:~/Library/Python/<ver>/bin

Apply the changes with

$ source ~/.bashrc or $ source ~/.bash_profile

In Windows make sure %AppData%\Python\Python<version>\Scripts is in your PATH.

API key

The tool requires an API account, signup here.

The key can either be provided via the -k / --api-key command option or the environment variable

# macOS and Linux
$ export MAC_ADDRESS_IO_API_KEY=“your-api-key”
# Windows (CMD)
set MAC_ADDRESS_IO_API_KEY=“your-api-key”
# Windows (PowerShell)
$env:MAC_ADDRESS_IO_API_KEY=“your-api-key”

Usage

$ maclookup —help

Documentation

The latest documentation is available on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for maclookup-cli, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size maclookup_cli-0.1.8-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size maclookup-cli-0.1.8.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page