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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file maclookup-cli-0.1.9.tar.gz
.
File metadata
- Download URL: maclookup-cli-0.1.9.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 281933f6d0f4b7aae0fe2af2258598d1108cce70b73a813ddb5245f483816006 |
|
MD5 | 7c55d922012cd4ec5ac204e613b5db23 |
|
BLAKE2b-256 | a8c2b8d6708e117c28c36a4d9c4a300ec3afc3be988da065a5ac84fc5d9487de |
File details
Details for the file maclookup_cli-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: maclookup_cli-0.1.9-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5225ad8f21f85580e0d545daf601fa6e4a510e9cbc091357fcd361d0b212549f |
|
MD5 | ba91354ff25c56c62cd100d01f9b13ed |
|
BLAKE2b-256 | c1671bb4442700e8557bee261b01889e13d55dffda33f9cf6ac210dceb20c5fe |