Skip to main content

A simple tool for formatting MAC addresses

Project description

mac_format

A simple library to convert MAC-addresses to different formats.


How

from mac_formatter import MacFormatter

mac_address = '01:ab:02:cd:03:ef'
mac = MacFormatter(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

If you want
---

thamuppet

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

mac-formatter-0.2.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

mac_formatter-0.2.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mac-formatter-0.2.0.tar.gz.

File metadata

  • Download URL: mac-formatter-0.2.0.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

Hashes for mac-formatter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 da67545542d126bb54973d04f22a55edb140eccbbd345ecbab51c56f9328e6b7
MD5 038550cfc1c2b25f5bd51fe7c59f1862
BLAKE2b-256 639e6dd804291f6c2fca9001cb6e3793c9a8a3f320b5ba41aa3d6a960cfd7d2d

See more details on using hashes here.

File details

Details for the file mac_formatter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mac_formatter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26e3d95c06379049085bc0184fb0cc3ff387da4498d04d0f10f4e81ee4a328d6
MD5 715a5ca328d4ce85e1aa91e7c7e6f901
BLAKE2b-256 845562238a23a1720b24a5a41b900e9b5622976bfca5c46c289a28c3f4c2e946

See more details on using hashes here.

Supported by

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