Skip to main content

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

Project description

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)

Project details


Download files

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

Source Distribution

macmod-0.2.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

macmod-0.2.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file macmod-0.2.3.tar.gz.

File metadata

  • Download URL: macmod-0.2.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for macmod-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a56abe382517a5ede57a96edf23de0b09e81afa1bf9c671092dc17917c03bdd7
MD5 40b7d2aa1a2c320fdf45213326547d78
BLAKE2b-256 de9b9203c5e963be41d96d6466d06e477a67baea76b79eaa44293b266794d1ab

See more details on using hashes here.

File details

Details for the file macmod-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: macmod-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for macmod-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c2bc8b09c565020d04c55f94bb295ee0714c74b6e238cb419d6c623066605f7
MD5 e04167f69b10b1766fb006339295721f
BLAKE2b-256 e61ab9855904bc3dd057382da295ff9c9548c000f40b8c461e59f0abeb154656

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page