PyBluez2
The PyBluez module allows Python code to access the host machine's Bluetooth resources. It supports scanning for devices and opening bluetooth sockets (via native sockets on win/linux)
Platform Support
| Linux | macOS | Windows |
|---|---|---|
| ✔️ | ✔️ | ✔️ |
Python Version Support
- Windows: >= 3.9
- Mac: >= 3.5
- Linux: >= 3.5
Examples
# simple inquiry example
import bluetooth
nearby_devices = bluetooth.discover_devices(lookup_names=True)
print("Found {} devices.".format(len(nearby_devices)))
for addr, name in nearby_devices:
print(" {} - {}".format(addr, name))
Installation
Install using pip:
pip install pybluez2
License
This library is based on the work that has been put into the original 'PyBluez' library by:
- Piotr Karulis
- Albert Huang (ashuang@alum.mit.edu)
PyBluez is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
PyBluez is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with PyBluez; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Release files for pybluez2 0.46
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pybluez2-0.46.tar.gz | 50.3 kB | Details |
Built distributions (wheels)
Total release size: 1.1 MB
Release files / pybluez2-0.46.tar.gz
| Download URL | pybluez2-0.46.tar.gz |
|---|---|
| Size | 50.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fffca90bd9a6329f01772c2ae66ead2b6b6dbf3daed7670890f6b8b462ab72a5
|
|
BLAKE2b-256 checksum How to use checksums |
ddf9980b70642ba99f1cc8cdc9042ad1bb68355bcf5bc68c892ced3bc3360e72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp310-cp310-win_amd64.whl
| Download URL | pybluez2-0.46-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 32.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b633df0fb1ef37ae4b6badb8b6f1015cf1f425e218faa182602a57679793a4d3
|
|
BLAKE2b-256 checksum How to use checksums |
760029ff3deb498078be8c2b1e308081ca67f5e53983aaa89cf5f182e658a1ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pybluez2-0.46-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 190.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
10294ea5aec397a468bf6fdec2944d4b9ee428657dfd95f4aee42a5e675ae34a
|
|
BLAKE2b-256 checksum How to use checksums |
55b59e5b99aabc1a58767d146166233b4a388b55a1bec8f803c367c774aa585a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | pybluez2-0.46-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 31.9 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
771bb4a424eee1901f8ed977fbf9e4a5027cdfaa05a742861f1780517435d35b
|
|
BLAKE2b-256 checksum How to use checksums |
7de9fe9e159aab5440a1e5e8592e5b86fca8d59e4a67d1d95ee75025f329889b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp39-cp39-win_amd64.whl
| Download URL | pybluez2-0.46-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 33.1 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd95e51063e7dab613f95f28f6ce5a811cf1b9d508c9f88c9cf1298c457783dc
|
|
BLAKE2b-256 checksum How to use checksums |
eadd61b5191fb6516cd7476f258d507d0eedec02192c86653324d6789079700f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pybluez2-0.46-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 189.9 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4c68f0bfb7fe9b3766b23a0893635ee5b254ac50ef337a9bd3cd6db42358ce22
|
|
BLAKE2b-256 checksum How to use checksums |
60baf390911a84ede63e90fd128402f67fd21c899b28a10b327bb6594b1494cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp39-cp39-macosx_10_15_x86_64.whl
| Download URL | pybluez2-0.46-cp39-cp39-macosx_10_15_x86_64.whl |
|---|---|
| Size | 31.9 kB |
| Tags | CPython 3.9 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
88250fb4c113deb93f8c57884eb1ebe8feb9763d1477e3a3636585bfb6465bac
|
|
BLAKE2b-256 checksum How to use checksums |
2bad0da8b2c4942e3f0c76db9895b660427094da4e5d57e09e559270fb64f1e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp38-cp38-win_amd64.whl
| Download URL | pybluez2-0.46-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 33.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e54b52745931772080e54e308137221923a809fe1f220b04ce177ffdf8d1ffc3
|
|
BLAKE2b-256 checksum How to use checksums |
a93ea291a730d8a2f7424f4e73e54f8c401aec5c62acafef3f6392cd1ec69de7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pybluez2-0.46-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 191.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
44d6e01ec8dbfe629aebf89aa989678a0eec503256c3b42d91b1382509f4dabd
|
|
BLAKE2b-256 checksum How to use checksums |
2e7eff1fea45f2da1e16d209dc3a9431e5dbfc973ce8b2c1bfa77c52d97a39c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | pybluez2-0.46-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 31.8 kB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
7e7513ccaebac1f75706cb5efc2d18a0877eeb04dc990eb9d4f54b9a8723983c
|
|
BLAKE2b-256 checksum How to use checksums |
de5f5a12497c80f8ef01fe6fa70d4ed38f49f9cd387f769732442a4c6a4814bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp37-cp37m-win_amd64.whl
| Download URL | pybluez2-0.46-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 33.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9ff5173268f4c6de5cd8addb90fa46f243b9afba7f92c42f4f4f349d0fbada28
|
|
BLAKE2b-256 checksum How to use checksums |
6deeded077ad0fdb540d65fc593dafea556cfff42e1a8c9b9419be2d5f9a6654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pybluez2-0.46-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 190.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6131541bc3160f1dce49435cd920c95ca4b9d07436750db33bcb0688ec72b63
|
|
BLAKE2b-256 checksum How to use checksums |
a47511f40c5ab0de9f8631bebaa4333f36f11ee219250c68ad23485373844786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pybluez2-0.46-cp37-cp37m-macosx_10_15_x86_64.whl
| Download URL | pybluez2-0.46-cp37-cp37m-macosx_10_15_x86_64.whl |
|---|---|
| Size | 31.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
3079e5394cd2bae9bbeda03243bd41e1eaa5515dcc7b4cce1bc56a966e5c3311
|
|
BLAKE2b-256 checksum How to use checksums |
dcecfc43461b75790f742710631ea2705c74f96b8240c654ab6207682a2861bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|