{ "info": { "author": "Josh Schmelzle", "author_email": "joshjoshdev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Natural Language :: English", "Programming Language :: Python :: 3.2", "Topic :: Utilities" ], "description": "randmac.py\n==========\n\na utility that generates 12-digit mac addresses; either the NIC portion or full 12-digit MAC. \n\nthe optional `-f` argument will return a random 12-digit MAC address that can be identified by the locally administrated address (LAA) format. This means you will always see `x2`, `x6`, `xA`, or `xE` at the beginning of a MAC address generated by randmac.\n\n# installation\n\nto install with pip:\n\n`pip install randmac`\n\n# requirements\n\nPython >3.2 required.\n\n# mac address formats\n\nSupported MAC address formats:\n - MM:MM:MM:SS:SS:SS\n - MM-MM-MM-SS-SS-SS\n - MM.MM.MM.SS.SS.SS\n - MMMM.MMSS.SSSS\n - MMMMMMSSSSSS\n\nwhere `M` stands for the manufacturer or vendor, and `S` stands for the NIC specific portion. \n\n# usage\n\nrequires a mac address as input. it is used to determine what the output format should be.\n\nyou can `from randmac import RandMac` and use it like `RandMac(\"00:00:00:00:00:00\")`.\n\nfrom a terminal (if the randmac.py is in your path and executable) you can use `$ python3 randmac.py 00:00:00:00:00:00` to get a generate a new NIC portion, or `$ python3 randmac.py 00:00:00:00:00:00 -f` to generate a new 12-digit LAA MAC.\n\n# example usage\n\n```\n>>> from randmac import RandMac\n>>> RandMac(\"00:00:00:00:00:00\")\n'00:00:00:00:fd:9e'\n>>> RandMac(\"00:00:00:00:00:00\", True)\n'ba:ac:5f:09:fc:bb'\n>>> RandMac(\"0000.0000.0000\", True)\n'fe84.857f.900f'\n```\n\nor\n\n```\n$ python3 randmac.py 00:00:00:00:00:00\n00:00:00:fc:e1:5b\n$ python3 randmac.py 00:00:00:00:00:00 -f\n2a:81:b0:e7:1d:08\n``` \n\n# license\n\nlicense can be found [here](https://github.com/joshschmelzle/randmac/blob/master/LICENSE).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/joshschmelzle/randmac", "keywords": "randmac,random mac,random mac address", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "randmac", "package_url": "https://pypi.org/project/randmac/", "platform": "", "project_url": "https://pypi.org/project/randmac/", "project_urls": { "Homepage": "https://github.com/joshschmelzle/randmac" }, "release_url": "https://pypi.org/project/randmac/0.0.2/", "requires_dist": null, "requires_python": ">3.2,", "summary": "a random 12-digit mac address generator", "version": "0.0.2" }, "last_serial": 4877077, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "75e254a8fbcd1ba0e481a44c50be9f1e", "sha256": "f5837d59176dc65aff2162097f63ba8713428a1937ae745d60e12dd1bd3c2d4c" }, "downloads": -1, "filename": "randmac-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "75e254a8fbcd1ba0e481a44c50be9f1e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">3.2,", "size": 5452, "upload_time": "2019-02-28T01:03:37", "url": "https://files.pythonhosted.org/packages/af/fc/6ef085eb3eb385516e6912dbfe2fcea3bcaa4b9791b64c0567f2f1180fdf/randmac-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "56261feed9fc2208def4851c4d1e201f", "sha256": "3e2b0b71564ea3b04f0833a35c9dc13dcc3f54f539fa4ad7eec8c130998b5f7d" }, "downloads": -1, "filename": "randmac-0.0.1.tar.gz", "has_sig": false, "md5_digest": "56261feed9fc2208def4851c4d1e201f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.2,", "size": 5084, "upload_time": "2019-02-28T01:03:38", "url": "https://files.pythonhosted.org/packages/c9/8a/cc51762b3f6f04de93b7b7dfc942d45cc00a41ed8949ed181fcadd500cbb/randmac-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e71c0fba7f6440f081f3606da5219d6f", "sha256": "468c43ca43ada51719c34fab7afa3cbc5df01fddce370b947b4ec55a3448644c" }, "downloads": -1, "filename": "randmac-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e71c0fba7f6440f081f3606da5219d6f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">3.2,", "size": 5483, "upload_time": "2019-02-28T01:57:32", "url": "https://files.pythonhosted.org/packages/eb/d6/c17f9a1c76eb12228e7c4462fdec9010be69834a11895eeb9fd560854d7f/randmac-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0af72486ba78d91f201fbb15b2a6f69", "sha256": "a13287360704c1fefdafcefc388d472d2594a6713dde1d2c5e82a74fc562715f" }, "downloads": -1, "filename": "randmac-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b0af72486ba78d91f201fbb15b2a6f69", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.2,", "size": 5129, "upload_time": "2019-02-28T01:57:34", "url": "https://files.pythonhosted.org/packages/e4/db/4ed318ff65cec40db9adb4fd51a9af78cdbe23605102a5980acca70f8f24/randmac-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e71c0fba7f6440f081f3606da5219d6f", "sha256": "468c43ca43ada51719c34fab7afa3cbc5df01fddce370b947b4ec55a3448644c" }, "downloads": -1, "filename": "randmac-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e71c0fba7f6440f081f3606da5219d6f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">3.2,", "size": 5483, "upload_time": "2019-02-28T01:57:32", "url": "https://files.pythonhosted.org/packages/eb/d6/c17f9a1c76eb12228e7c4462fdec9010be69834a11895eeb9fd560854d7f/randmac-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0af72486ba78d91f201fbb15b2a6f69", "sha256": "a13287360704c1fefdafcefc388d472d2594a6713dde1d2c5e82a74fc562715f" }, "downloads": -1, "filename": "randmac-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b0af72486ba78d91f201fbb15b2a6f69", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.2,", "size": 5129, "upload_time": "2019-02-28T01:57:34", "url": "https://files.pythonhosted.org/packages/e4/db/4ed318ff65cec40db9adb4fd51a9af78cdbe23605102a5980acca70f8f24/randmac-0.0.2.tar.gz" } ] }