magcen - MAC Address Generation Utility and Library
macgen is a simple python library to facilitate the generation of MAC addresses.
Install
pip install macgen
Usage
# generate a MAC with default options (locally administered, unicast)
macgen
# generate a MAC with a dash as the separator
macgen -s -
# generate a MAC with no separator
macgen -S
# generate a local / multicast MAC
macgen -m
# generate a random global (supposedly OUI enforced) / unicast MAC
macgen -g
# generate a global / multicast MAC
macgen -mg
Planned Features
- Generate a repeatable MAC from a seed string
- Supply an OUI prefix
Development Setup
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
Metadata
Release files for macgen 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| macgen-0.1.tar.gz | 3.3 kB | Without provenance | Details for macgen-0.1.tar.gz |
Release files / macgen-0.1.tar.gz
| Download URL | macgen-0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
837b927d0fe9d9842cc69447624dc3f6596f96bbe5f1f85930050335f32be13e
|
|
BLAKE2b-256 checksum How to use checksums |
2b365ff1f584e5ad04fdcbd0bafb7fa51fd961e50adea562f6a0fc8fb018c421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.10
|
Security for macgen 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.