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.2.tar.gz (6.5 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.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: macmod-0.2.2.tar.gz
  • Upload date:
  • Size: 6.5 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.2.tar.gz
Algorithm Hash digest
SHA256 b67870b643b787a7e771bd364bb683afa2f596a2bccba91ce8fab44824f51fe5
MD5 fc18483af3a5392e3b6fd684ed24fd33
BLAKE2b-256 dbe9e3b6748b9a4de8f6b5296d7fa9ad68c785956161d54704edab2d30ead1a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macmod-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5662658c5ca9d33abbd70814bf01307922a09dfb76ea4a5f83e598c63bcfc142
MD5 a75a3990ddd92a0ffbb1f4bb81a3e2e8
BLAKE2b-256 f988430eddee0bba218a726a806dfe9ca9d570735bc1caf6530038333308f126

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