{ "info": { "author": "Johann Bauer", "author_email": "pypi.org@bauerj.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking" ], "description": "Mac Vendor Lookup\n=================\n\nThis library provides an easy way to get vendor information from a MAC address. It downloads a local copy of the IEEE's\nOUI prefix list. It has an asynchronous interface using Python 3's asyncio as well as a regular synchronous interface\nfor old-school usage.\n\n## Basic Usage\n\n```python\nfrom mac_vendor_lookup import MacLookup\n\nprint(MacLookup().lookup(\"00:80:41:12:FE\"))\n```\n\nOutput:\n\n> VEB KOMBINAT ROBOTRON\n\n## Pre-load the vendor list\n\nThe list of MAC vendors is currently about 4MB large. By default a lazy-loading mechanism is used,\nthat loads the list when it's needed. If it is clear that the list is needed and a wait time during the \nquery is not desired, the list can also be loaded when the program is started:\n\n```python\nfrom mac_vendor_lookup import MacLookup\n\nmac = MacLookup()\nmac.load_vendors() # <- This can take a few seconds for the first download\n \ndef find_mac(mac_address):\n print(mac.lookup(mac_address)) # <- this will only take a few \u00b5s!\n\n```\n\n## Async Interface\n\nThere is also an asynchronous interface available:\n\n```python\nfrom mac_vendor_lookup import AsyncMacLookup\n\nasync def main():\n mac = AsyncMacLookup()\n print(await mac.lookup(\"98:ED:5C:FF:EE:01\"))\n```\n\nOutput:\n\n> Tesla Motors, Inc\n\n## Command line interface\n\nThis library provides a rudimentary command line interface:\n\n```bash\n$ mac_vendor_lookup 50-D3-7F-00-01-00\nYu Fly Mikly Way Science and Technology Co., Ltd.\n$ python3 -m mac_vendor_lookup 00:26:12:12:FE\nSpace Exploration Technologies\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/bauerj/mac_vendor_lookup", "keywords": "mac-address OUI lookup", "license": "", "maintainer": "", "maintainer_email": "", "name": "mac-vendor-lookup", "package_url": "https://pypi.org/project/mac-vendor-lookup/", "platform": "", "project_url": "https://pypi.org/project/mac-vendor-lookup/", "project_urls": { "Homepage": "https://github.com/bauerj/mac_vendor_lookup" }, "release_url": "https://pypi.org/project/mac-vendor-lookup/0.1.7/", "requires_dist": null, "requires_python": "<4, >=3.5", "summary": "Find the vendor for a given MAC address", "version": "0.1.7" }, "last_serial": 5342767, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "25c9d83d0bfed20bb9143b0ffef68836", "sha256": "6e65e8e28174a0ff1b0a4d82553fa54cba003aa9a84d5a9eda7d73fb29acc01d" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.4.tar.gz", "has_sig": false, "md5_digest": "25c9d83d0bfed20bb9143b0ffef68836", "packagetype": "sdist", "python_version": "source", "requires_python": "<4, >=3.5", "size": 6030, "upload_time": "2019-05-29T13:01:04", "url": "https://files.pythonhosted.org/packages/1e/42/e5dc32973d6df5a74b760c6b7a4d99a004c2fa07027df8d1a593dce0772e/mac_vendor_lookup-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "18b54fcee85d4dbf7d2306f76441923f", "sha256": "2be27c4a261733c3618a54dac788bda3af2887dab6656faf47ba3209b50a7ed9" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.5.tar.gz", "has_sig": false, "md5_digest": "18b54fcee85d4dbf7d2306f76441923f", "packagetype": "sdist", "python_version": "source", "requires_python": "<4, >=3.5", "size": 6034, "upload_time": "2019-05-31T06:27:32", "url": "https://files.pythonhosted.org/packages/45/57/61a5402746bd89f811fcb91b34147f8ba0ea4bb7c8febc8cfafc95d7802a/mac_vendor_lookup-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "c3e58aae229a817f3cbdf013ac29fa19", "sha256": "311d8404d2251bd897bfc5655b61dcc34382508c940a818d3be0ea4f842a54b7" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.6.tar.gz", "has_sig": false, "md5_digest": "c3e58aae229a817f3cbdf013ac29fa19", "packagetype": "sdist", "python_version": "source", "requires_python": "<4, >=3.5", "size": 6033, "upload_time": "2019-05-31T06:29:10", "url": "https://files.pythonhosted.org/packages/98/55/eb56cc72937d63245e3b5c661d3b3cd858a1371456b9e8eaa06f95ad2e8c/mac_vendor_lookup-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "308114ff52491ee550f5df25dceae1d7", "sha256": "462caa62ae3d7461edf4032d79d5cd9d3e6510015b23362c4afd6bc1237afdca" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "308114ff52491ee550f5df25dceae1d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "<4, >=3.5", "size": 3809, "upload_time": "2019-05-31T13:27:04", "url": "https://files.pythonhosted.org/packages/ce/4f/2ba8db49d05aadf8ccb1eab9e6a7b6a22d4246894507dd8f0e494a971f66/mac_vendor_lookup-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c1f7ecbeec4edca599956757b90a8c73", "sha256": "f44f9212cfaced34ff745846e45031f8a1e896d1798a87bb7676b9f89363608e" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.7.tar.gz", "has_sig": false, "md5_digest": "c1f7ecbeec4edca599956757b90a8c73", "packagetype": "sdist", "python_version": "source", "requires_python": "<4, >=3.5", "size": 6031, "upload_time": "2019-05-31T06:38:21", "url": "https://files.pythonhosted.org/packages/52/0f/0230730354274e9a6e453f5de0d8410f080235c06b1bdcd3282892d65eac/mac_vendor_lookup-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "308114ff52491ee550f5df25dceae1d7", "sha256": "462caa62ae3d7461edf4032d79d5cd9d3e6510015b23362c4afd6bc1237afdca" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "308114ff52491ee550f5df25dceae1d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "<4, >=3.5", "size": 3809, "upload_time": "2019-05-31T13:27:04", "url": "https://files.pythonhosted.org/packages/ce/4f/2ba8db49d05aadf8ccb1eab9e6a7b6a22d4246894507dd8f0e494a971f66/mac_vendor_lookup-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c1f7ecbeec4edca599956757b90a8c73", "sha256": "f44f9212cfaced34ff745846e45031f8a1e896d1798a87bb7676b9f89363608e" }, "downloads": -1, "filename": "mac_vendor_lookup-0.1.7.tar.gz", "has_sig": false, "md5_digest": "c1f7ecbeec4edca599956757b90a8c73", "packagetype": "sdist", "python_version": "source", "requires_python": "<4, >=3.5", "size": 6031, "upload_time": "2019-05-31T06:38:21", "url": "https://files.pythonhosted.org/packages/52/0f/0230730354274e9a6e453f5de0d8410f080235c06b1bdcd3282892d65eac/mac_vendor_lookup-0.1.7.tar.gz" } ] }