Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modmac

A simple command-line tool to format MAC addresses in standard styles.

Features

  • Accepts MAC addresses in any common format.
  • Outputs formatted MAC using :, -, or . separators.
  • Copies the formatted MAC to the clipboard automatically.

Installation

To install the package, run:

pip install macmod

Usage

mac <separator> <MAC>

Where:

— one of .-:

— input MAC address

Examples

> mac : 00-1A-2B-3C-4D-5E
00:1A:2B:3C:4D:5E  (copied to clipboard)

> mac - 001a.2b3c.4d5e
00-1A-2B-3C-4D-5E  (copied to clipboard)

> mac . 00-1A-2B-3C-4D-5E
001a.2b3c.4d5e  (copied to clipboard)

About

A simple Python module to convert MAC address formats

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages