A simple tool for formatting MAC addresses
Project description
mac_format
A simple library for reformatting MAC-addresses.
How
from mac_formatter import MACFormation
mac_address = '01:ab:02:cd:03:ef'
mac = MACFormation(mac_address)
print(mac.dot)
print(mac.line)
print(mac.space)
print(mac.colon)
output:
01ab.02cd.03ef
01-ab-02-cd-03-ef
01 ab 02 cd 03 ef
01:ab:02:cd:03:ef
---
thamuppet
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
mac-formatter-0.1.4.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file mac-formatter-0.1.4.tar.gz
.
File metadata
- Download URL: mac-formatter-0.1.4.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c03215e2591a76ac0d1d377efddcec6369e9847901cdfad977f1ba049721e05 |
|
MD5 | ea19f39822043c62d6d941b65b59e6b4 |
|
BLAKE2b-256 | ef0ffffef84026f8eb6e3a95b953aff3a04f1529ba7f421b1199560fa079d054 |
File details
Details for the file mac_formatter-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: mac_formatter-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1653aca1e6de9554fcbf45a3364993c16525211894bbc236c51fff98e676949a |
|
MD5 | 485f83f8c52e7487f6e02124ea125334 |
|
BLAKE2b-256 | 70d5ee4522ae7efd2b4380fc4878ce90369ad84c8a2c53894c321bc18bdb6716 |