{ "info": { "author": "Barry Byford", "author_email": "barry_byford@yahoo.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Education", "Topic :: Home Automation", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Hardware" ], "description": "===============\npython-bluezero\n===============\n.. image:: https://travis-ci.org/ukBaz/python-bluezero.svg\n :target: https://travis-ci.org/ukBaz/python-bluezero\n :alt: Build Status\n\n.. image:: https://img.shields.io/codecov/c/github/ukBaz/python-bluezero/master.svg?maxAge=2592000\n :target: https://codecov.io/github/ukBaz/python-bluezero\n :alt: Code Coverage\n\n.. image:: https://img.shields.io/pypi/v/bluezero.svg\n :target: https://pypi.python.org/pypi/bluezero/\n :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/l/bluezero.svg\n :target: https://github.com/ukBaz/python-bluezero/blob/master/LICENSE\n :alt: MIT License\n\n\n\nA simple Python interface to BlueZ stack\n\nName and aim\n============\nThe aim of this library is to provide an API to access to *Bluez* with *zero* boilerplate code.\n\nGoal\n====\nTo provide a simplified API to people that want to use Bluetooth functionality in their code.\nThe library will use calls to the BlueZ D-Bus API and use 'sensible' defaults to help with that simplification.\nIt aims to support the ability to create interesting STEM activities without needing to \nexplain the BlueZ API or write an event loop.\n\nIn addition to the API it will contain examples of how to connect to common Bluetooth Smart (BLE) objects \naround them (or at least easily accessible to them).\nThese examples will need to be written without the need to sign (or break) non-disclosure agreements.\n\nStatus\n======\nWhile we want this to be easy to use it does not mean it easy to create.\nThis library is still in the early stages so things might change and break. Apologies in advance!\nWe will try to make it as stable as possible. However much of the functionality that is in BlueZ is\nstill flagged as experimental.\nThe library assumes you are using a Linux release with BlueZ 5.43. For example Raspbian Stretch\n\n\nGetting Started\n===============\nIf you are here for the time, and especially if you are new to Bluetooth Low Energy, then\na tutorial might be a good place to start.\nThe following tutorial has been created based on the readily available hardware of\na Raspberry Pi 3 and a micro:bit. More details available at:\nhttps://ukbaz.github.io/howto/ubit_workshop.html\n\nExamples\n========\nThere are some other examples in the library if you are feeling adventurous\n\nAdapter\n-------\n\nadapter_example.py\n******************\nThis will check that it can find the Bluetooth adapter on the computer running the code.\nIt will print to screen various information and check it is powered before scanning for\nnearby devices\n\nGATT Client (Central role)\n--------------------------\n\nmicrobit_poll.py\n****************\nThis example uses the micro:bit API that has been written in bluezero.\nYou will need a buzzer attached to pin 0 to get play_beep to work.\n\nBeacon\n------\n\neddystone-url-beacon.py\n***********************\nYou will need to put the BlueZ bluetoothd into experimental mode for this one.\nMore details elsewhere in the documentation.\nA Simple Eddystone URL beacon.\nYou can be read the URL being broadcast with any Physical Web application on your Phone\n\nScanner\n-------\n\neddystone-scanner.py\n********************\n\nThis example scans for beacons using the Eddystone format.\nIt will report on `UID beacons` and `URL beacons`.\n\nThis uses the `aioblescan` Python library which requires your code to be run with `sudo`.\n\nGATT Server (Peripheral role)\n-----------------------------\nThis is starting to be very experimental...\nYou will need to have BlueZ in experimental mode and have tweaked the dbus configuration\nfile to open the permissions for 'ukBaz.bluezero'\n\ncpu_temperature.py\n******************\n\nThis example transmits the temperature of the CPU over the single characteristic.\nIf your hardware does not support the `vcgencmd` then change the `get_cpu_temperature()`\nfunction to use the randomly generated temperature.\nValues are only updated when notification are switched on.\n\nble_uart.py\n-----------\n\nThis example simulates a basic UART connection over two lines, TXD and RXD.\n\nIt is based on a proprietary UART service specification by Nordic Semiconductors.\nData sent to and from this service can be viewed using the nRF UART apps from Nordic\nSemiconductors for Android and iOS.\n\nIt uses the Bluezero peripheral file (level 10) so should be easier than the previous CPU\nTemperature example that was a level 100.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ukBaz/python-bluezero", "keywords": "Bluetooth BLE development", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bluezero", "package_url": "https://pypi.org/project/bluezero/", "platform": "", "project_url": "https://pypi.org/project/bluezero/", "project_urls": { "Homepage": "https://github.com/ukBaz/python-bluezero" }, "release_url": "https://pypi.org/project/bluezero/0.2.0/", "requires_dist": [ "aioblescan", "bumpversion; extra == 'dev'", "coverage; extra == 'dev'", "pycodestyle; extra == 'dev'", "sphinx; extra == 'dev'", "sphinx-rtd-theme; extra == 'dev'", "twine; extra == 'dev'", "sphinx; extra == 'docs'", "sphinx-rtd-theme; extra == 'docs'", "bumpversion; extra == 'rel'", "twine; extra == 'rel'", "coverage; extra == 'test'", "pycodestyle; extra == 'test'" ], "requires_python": "", "summary": "Python library for Bluetooth Low Energy (BLE) on Linux", "version": "0.2.0" }, "last_serial": 5234805, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a57ab1b7fa0d2238b799fdd6d391875f", "sha256": "06dbe0abd6d405c2aa48cdf90b27bcf69d2ac4df60a89700a7aae6e6f6994844" }, "downloads": -1, "filename": "bluezero-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a57ab1b7fa0d2238b799fdd6d391875f", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 16886, "upload_time": "2016-05-17T21:49:32", "url": "https://files.pythonhosted.org/packages/52/8e/29195f624a15482f2fc2a89887f9e02fba5df602298910bcfce6b80559ad/bluezero-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bbbd683cbf4099952f4c57c7ce1caae7", "sha256": "f61c1f94eae2ea7c1bdf0aec12008eafbb24226fcb1987560b8d122769615e1f" }, "downloads": -1, "filename": "bluezero-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bbbd683cbf4099952f4c57c7ce1caae7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13898, "upload_time": "2016-05-17T21:49:25", "url": "https://files.pythonhosted.org/packages/0c/08/d16e51f2e3cb46cd2dcf337e2ef7e57c1c2484faaa3e343fd821ca5542a4/bluezero-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "058373af780995364fad6ff9c60597c2", "sha256": "8e371f2afba2d900161dc8155583d976685788f08b4473900a4ae5277d72d996" }, "downloads": -1, "filename": "bluezero-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "058373af780995364fad6ff9c60597c2", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 32118, "upload_time": "2016-10-07T19:57:37", "url": "https://files.pythonhosted.org/packages/d1/9e/7abbd70c6746e1203f22995613655c1c7695396aaf0c1fa067930b7c455c/bluezero-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13b53454dbcc272ae67fd4f7979cdf14", "sha256": "955106ac875b7de1a65776310c2644cdc62a39ed84e5398f265580de3f1974ef" }, "downloads": -1, "filename": "bluezero-0.0.2.tar.gz", "has_sig": false, "md5_digest": "13b53454dbcc272ae67fd4f7979cdf14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23865, "upload_time": "2016-10-07T19:57:34", "url": "https://files.pythonhosted.org/packages/28/81/4d2e07dfb3fad1321bdc3489ee2dcdd2796def4cd195ae3061c0fdc57d48/bluezero-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0edf1fd042d49552238a183b5ab14b6a", "sha256": "cbf46b4568ee4c81e21ee91ace5efa5fc134c578771bbcc4a2e3228e850c77e4" }, "downloads": -1, "filename": "bluezero-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0edf1fd042d49552238a183b5ab14b6a", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 43711, "upload_time": "2016-12-01T19:30:48", "url": "https://files.pythonhosted.org/packages/0b/5a/40b71215121c4feb6fbf7709e745bcc1cbe8dd5a4e46cc46376a195aaa08/bluezero-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2c6d057e5e46bbcead0e728895f8115", "sha256": "815591b86c177ff6da2bbd8c96c7f6a6ef6d6b80e09d4544e4db5ab44d203e6a" }, "downloads": -1, "filename": "bluezero-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e2c6d057e5e46bbcead0e728895f8115", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31247, "upload_time": "2016-12-01T19:30:45", "url": "https://files.pythonhosted.org/packages/93/b3/a9a151d6b35474cf2f3d1271d6cd38004bcead4a868e1b5d3a8d06b1c727/bluezero-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "db4a62c4c9dd6097afd8b06b975dd330", "sha256": "9f4e4fd42388fa606985d46b0893c4e857706d7c9c3da2139907bef5a54340b5" }, "downloads": -1, "filename": "bluezero-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db4a62c4c9dd6097afd8b06b975dd330", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 63118, "upload_time": "2017-08-26T15:36:40", "url": "https://files.pythonhosted.org/packages/75/7c/5c7573deea00b85403a1ba81f01419afbfb8631a95edc708dd7fba6657c0/bluezero-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dcbe13409387d42a307c90cd429f0e38", "sha256": "679453cdc5824f0a0dbe57c5e17171abb50b78012d6f78be34d34fbf7075cd2a" }, "downloads": -1, "filename": "bluezero-0.0.4.tar.gz", "has_sig": false, "md5_digest": "dcbe13409387d42a307c90cd429f0e38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48599, "upload_time": "2017-08-26T15:36:43", "url": "https://files.pythonhosted.org/packages/01/7f/9f2736bbe49d0afc302cc0cb275f01c069550ae5455eb8ca55793658f898/bluezero-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f9cd3bf37b92a55da287df998bb92c7b", "sha256": "426af0af37ff1ebf812f68e539faa8d51df641a3cb8bdaa6bace637076849f68" }, "downloads": -1, "filename": "bluezero-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f9cd3bf37b92a55da287df998bb92c7b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 63708, "upload_time": "2017-09-08T06:52:49", "url": "https://files.pythonhosted.org/packages/e2/18/5d93577bb4a1be541ee761334cb00a3389616b8eb75d791bf1838868729f/bluezero-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b44cd3d8381c0bf22a5911c0750f0501", "sha256": "f75dd95d55cdde55e49254290108af6a71bcca38aab0878919b03986ec29aaf5" }, "downloads": -1, "filename": "bluezero-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b44cd3d8381c0bf22a5911c0750f0501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49140, "upload_time": "2017-09-08T06:52:51", "url": "https://files.pythonhosted.org/packages/49/05/5cbc941e4c6d56a8aa9e3b55c5340d2c01b3e4aa8df4579ea6ed9db6f043/bluezero-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "8809ed4700c3f818f5c3f9edb1f656ce", "sha256": "2cb4d0d4e4623398666430d72de5919be72f96a29c12495ab9822f078624b0b8" }, "downloads": -1, "filename": "bluezero-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8809ed4700c3f818f5c3f9edb1f656ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56431, "upload_time": "2017-12-24T14:56:11", "url": "https://files.pythonhosted.org/packages/3a/13/efb1173863c8bd6f8be830e783f923bc88d340ce4ef79638a61189fbd90d/bluezero-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5e6e19d5527792dde402376c679f107", "sha256": "3765034fa560ef2f1654e8153eddf973aef07b9fd813ad6d585d117378f6b974" }, "downloads": -1, "filename": "bluezero-0.0.6.tar.gz", "has_sig": false, "md5_digest": "c5e6e19d5527792dde402376c679f107", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45239, "upload_time": "2017-12-24T14:56:13", "url": "https://files.pythonhosted.org/packages/72/c8/7efbd5b59b3872215dee50305f91a5282186b5dbd64136318e38ab86b3b5/bluezero-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "0d73c8fc2a44c50d1d5ac7baff4883ac", "sha256": "5b7fce267b7d1e48f445f161ed5101cb418794983826edd00b7307ccecde68a0" }, "downloads": -1, "filename": "bluezero-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0d73c8fc2a44c50d1d5ac7baff4883ac", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 73020, "upload_time": "2018-12-22T09:20:57", "url": "https://files.pythonhosted.org/packages/26/39/2346c45582edecc92d912a979a7ef73e35eb56cc14c97501aa2753f85332/bluezero-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48c2b3082c8e0097c0cbdf502c35b8c3", "sha256": "ed0a06678377922e932f0a1874d39704078f1e8bacaa86481be3558d8ee6be6d" }, "downloads": -1, "filename": "bluezero-0.0.7.tar.gz", "has_sig": false, "md5_digest": "48c2b3082c8e0097c0cbdf502c35b8c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55813, "upload_time": "2018-12-22T09:20:59", "url": "https://files.pythonhosted.org/packages/37/d7/4eeaa96d28e882f0e560b245958af6a0e0126facb382a744d7812d23bed0/bluezero-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1e636256a407d64ca301ca5b373a7fdd", "sha256": "2acef2587c98d551d2c1d8538a5e1bbdba1a5cf084993d4bf5db9785281f3e1c" }, "downloads": -1, "filename": "bluezero-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e636256a407d64ca301ca5b373a7fdd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 70666, "upload_time": "2019-02-09T20:17:14", "url": "https://files.pythonhosted.org/packages/7d/7b/5b6749cfe1f777265fc7f1c30750829b190f82a12ec5cf0dcbb1c8227f71/bluezero-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "85677ee95fca22d39eae9b8406959077", "sha256": "06c5c0c0ed879527c27567cb735e61ed19e8fdb8c0336869b6085a3274760a2d" }, "downloads": -1, "filename": "bluezero-0.0.8.tar.gz", "has_sig": false, "md5_digest": "85677ee95fca22d39eae9b8406959077", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57044, "upload_time": "2019-02-09T20:17:16", "url": "https://files.pythonhosted.org/packages/c4/d8/ef23e09cbd5cd1b37c8e8f4479736a7f2405e90bc9dee48a30a02ec7746e/bluezero-0.0.8.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "2a2a4ab281bf4c9bc5fb9b68ea8aa051", "sha256": "3821f95f6760034093453a6763b9dbdb9def5fdf59d60e4c2add6d7c788cb0b5" }, "downloads": -1, "filename": "bluezero-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2a2a4ab281bf4c9bc5fb9b68ea8aa051", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31921, "upload_time": "2019-03-03T10:24:33", "url": "https://files.pythonhosted.org/packages/a6/8f/b05216f1d0683fd0493c6c87cedc6371dc8687f72cf66c4950239cc991e5/bluezero-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e0b6302e4efe81163b23266f04696273", "sha256": "789373e26869f554b6040b2ca59389865a6230add7b923e1a8b40c31d30e6d25" }, "downloads": -1, "filename": "bluezero-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e0b6302e4efe81163b23266f04696273", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 40394, "upload_time": "2019-05-06T21:05:31", "url": "https://files.pythonhosted.org/packages/86/9b/0b7b3da6a2865bb47ba49cfa6d51beca8dda11474ec67304a66af58c8033/bluezero-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b13fd84a5fe98ce9526a6f513c9131b1", "sha256": "d16eb9ac048665a974ad0db312b23bfd528423000b7b2983566b853d5e0d19b6" }, "downloads": -1, "filename": "bluezero-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b13fd84a5fe98ce9526a6f513c9131b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31131, "upload_time": "2019-05-06T21:05:33", "url": "https://files.pythonhosted.org/packages/9c/76/8f5250e119be8aff4f7ac3acb9d91589909d8650152fdf6758bfb01f9576/bluezero-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e0b6302e4efe81163b23266f04696273", "sha256": "789373e26869f554b6040b2ca59389865a6230add7b923e1a8b40c31d30e6d25" }, "downloads": -1, "filename": "bluezero-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e0b6302e4efe81163b23266f04696273", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 40394, "upload_time": "2019-05-06T21:05:31", "url": "https://files.pythonhosted.org/packages/86/9b/0b7b3da6a2865bb47ba49cfa6d51beca8dda11474ec67304a66af58c8033/bluezero-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b13fd84a5fe98ce9526a6f513c9131b1", "sha256": "d16eb9ac048665a974ad0db312b23bfd528423000b7b2983566b853d5e0d19b6" }, "downloads": -1, "filename": "bluezero-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b13fd84a5fe98ce9526a6f513c9131b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31131, "upload_time": "2019-05-06T21:05:33", "url": "https://files.pythonhosted.org/packages/9c/76/8f5250e119be8aff4f7ac3acb9d91589909d8650152fdf6758bfb01f9576/bluezero-0.2.0.tar.gz" } ] }