$npx skillfedfor your agent

randmac

a random 12-digit mac address generator

With conditionsPyPI UtilitiesReleased Sep 202078.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — randmac-0.1-py2.py3-none-any.whl
v0.1 · released 2020-09-13 · Python >3.2,

Yes, if you need a simple, dependency-free MAC address generator for testing or development. The low install friction and permissive license make it a low-risk addition. However, the abandoned maintenance status and Alpha classification mean it's best suited for non-critical tooling; do not rely on it for production systems. Verify LAA format correctness for your specific use case before deploying.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >3.2
  • Low install friction with no runtime dependencies.
  • Package is abandoned (last release 2020-09-13, last commit 2023-05-25) and classified as Alpha, so expect no active maintenance or bug fixes.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions.

last release 2020-09-13 (2161 days) · last repo commit 2023-05-25 · 8 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,104 downloads/mo, #14,469 on PyPI

Verify before relying

from randmac import RandMac

# Generate a random LAA-format MAC address
mac = RandMac()
print(mac)  # e.g., 'a6:9b:6b:8e:b3:42'

# Generate with custom format
mac_custom = RandMac("00:00:00:00:00:00", True)
print(mac_custom)  # e.g., '00:00:00:3f:8a:06'
  • Whether the package works reliably with Python versions beyond 3.2 despite the classifier listing only 3.2
  • Whether the LAA format generation (x2, x6, xA, xE prefix guarantee) is consistently correct across all output formats
Same gist for agents: .md · .json

What it is and what it does

randmac is a lightweight utility for generating random MAC addresses in multiple formats. It can produce either full 12-digit addresses or preserve the manufacturer (OUI) portion while randomizing the NIC-specific portion. The package supports five common MAC address formats: colon-separated (MM:MM:MM:SS:SS:SS), hyphen-separated (MM-MM-MM-SS-SS-SS), dot-separated (MM.MM.MM.SS.SS.SS), Cisco format (MMMM.MMSS.SSSS), and unformatted (MMMMMMSSSSSS).

The main use case is generating test or mock MAC addresses for network testing, device simulation, or security research. It includes a command-line interface for quick generation and a Python API for programmatic use. The optional LAA (locally administrated address) mode ensures generated addresses are marked as locally administered by constraining the first hex digit to x2, x6, xA, or xE, which is useful when you need addresses that won't collide with real hardware vendors.

Use it for

  • Generate mock MAC addresses for network testing and device simulation scenarios
  • Create test data for network monitoring or DHCP server testing
  • Randomize NIC portions while preserving a specific OUI for vendor-specific testing
  • Generate LAA-compliant addresses for local network administration and testing
  • Quick command-line MAC address generation without writing code

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a simple, dependency-free MAC address generator for testing or development.

The low install friction and permissive license make it a low-risk addition. However, the abandoned maintenance status and Alpha classification mean it's best suited for non-critical tooling; do not rely on it for production systems. Verify LAA format correctness for your specific use case before deploying.

Install

randmac on PyPI

Before you install

Low install friction with no runtime dependencies. Package is abandoned (last release 2020-09-13, last commit 2023-05-25) and classified as Alpha, so expect no active maintenance or bug fixes.

Requires Python >3.2

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

from randmac import RandMac

# Generate a random LAA-format MAC address
mac = RandMac()
print(mac)  # e.g., 'a6:9b:6b:8e:b3:42'

# Generate with custom format
mac_custom = RandMac("00:00:00:00:00:00", True)
print(mac_custom)  # e.g., '00:00:00:3f:8a:06'

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.2 despite the classifier listing only 3.2
  • Whether the LAA format generation (x2, x6, xA, xE prefix guarantee) is consistently correct across all output formats

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >3.2,
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 2,161 days since the last release
Last repo commit
First released
Downloads78,104 / month, #14,469 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: System AdministratorsNatural Language :: EnglishProgramming Language :: Python :: 3.2Topic :: Utilities

Evidence: randmac-0.1-py2.py3-none-any.whl

Tags

Capabilities
random mac address generatormac address generationnetwork mac randomizerLAA format mac addressesmac address utilitynic address generator
Topics
mac-addressnetwork-testingtest-data-generation
PyPI keywords
randmacrandom macrandom mac address

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “random mac address generator”

  • randmacGenerates random 12-digit MAC addresses in multiple formats, with…
  • random-addressGenerates random real US addresses with coordinates from…
  • bluetooth-data-toolsParses and manipulates Bluetooth Low Energy advertisement data,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also macaddress · random-address · mac-vendor-lookup · getmac · netaddr · aiooui · wakeonlan · netifaces-plus · usaddress · netifaces