Skip to main content

Bluetooth Python extension module

Project description

PyBluez2

Build Status

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
:heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybluez2-0.45.tar.gz (45.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pybluez2-0.45-cp310-cp310-win_amd64.whl (32.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pybluez2-0.45-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (185.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pybluez2-0.45-cp310-cp310-macosx_10_15_x86_64.whl (31.9 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

pybluez2-0.45-cp39-cp39-win_amd64.whl (33.1 kB view details)

Uploaded CPython 3.9Windows x86-64

pybluez2-0.45-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (184.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pybluez2-0.45-cp39-cp39-macosx_10_15_x86_64.whl (31.9 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pybluez2-0.45-cp38-cp38-win_amd64.whl (33.1 kB view details)

Uploaded CPython 3.8Windows x86-64

pybluez2-0.45-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (185.4 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pybluez2-0.45-cp38-cp38-macosx_10_15_x86_64.whl (31.8 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

pybluez2-0.45-cp37-cp37m-win_amd64.whl (33.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

pybluez2-0.45-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (184.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pybluez2-0.45-cp37-cp37m-macosx_10_15_x86_64.whl (31.8 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

Details for the file pybluez2-0.45.tar.gz.

File metadata

  • Download URL: pybluez2-0.45.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pybluez2-0.45.tar.gz
Algorithm Hash digest
SHA256 919bd98a87a8b3e4ae1583b49dca02159ed98d7f38103af2894f7668bd3f79b6
MD5 b7e2fa55982d3d769fe3f4330937840c
BLAKE2b-256 6d0861b572f4ed43bd7e79c20aad1e121efd223e58b5797592a4370ee8c31d1d

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pybluez2-0.45-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pybluez2-0.45-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 547fdec5ee0991ec22d1b4b5467f949fdba51f84755b72d0612627b152bbcdef
MD5 73ed492359927c73aeb04679330db07d
BLAKE2b-256 3aae28f7bf07519c503b8efa05c839f5c79f9fc0a2729d24ee4453ee34073ec7

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78c60a67bb183e6c15c37956c705c0933aa540aebdfe0377db23c918dcfc40aa
MD5 fe977911ad1bd5a0f174e801fb6857a1
BLAKE2b-256 cd8d963ad5c32258afccfec1ee9b1ff02b552cec6870cfa87e7139fcd95fb924

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8e2a9c3c58f10c55c2af55e199e70bfc2ce987d01709dbb7a89b37d115cab04f
MD5 2f673dfdac4b2b6d4a5fcd25e03d51e5
BLAKE2b-256 048a020d9b9b8903842029e4ee22654a44449b2b534fab54ee2553731b3ed3af

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pybluez2-0.45-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pybluez2-0.45-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c4c24a46af38fd40b6e692db61cd44efb6d0026b663a80c633fc1a22aad77c8e
MD5 06c6047b2764b93941bc7c7ededeec7f
BLAKE2b-256 3bf1832d41e0503f9c04e0067b3b9277cf5783513a4a9ca0742d95349fbff1ba

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db5d5c838b64e3a59489f40f8601920fc2e0ddc2a16123d837556cf08b25c82d
MD5 52cda7fc806471b26e9d526e67176034
BLAKE2b-256 8d2a702f2d200ebe1a4eaeb18789887104bb99c66e020c4d4548486c33f2aabd

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fb16dc4a27ff0de4841f10f52072cdacfe5494700d99a745129943fe174a18ab
MD5 2f3a920208b3433c8cb357d01f85332a
BLAKE2b-256 34d5478e0570356906109488e0d7adb47cf256274345650dbd071424456f0d5a

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pybluez2-0.45-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pybluez2-0.45-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 85f1c3eff4cfe00228e18c94f1f35eb4eba95a34e3a349b25a762936ee019aae
MD5 f42da78f4d3dd5a8fb2ce244b7bb75b8
BLAKE2b-256 19e118b7d614bc0c92faa1c3643e05c16b635930bd497067ee891d21fcded7d0

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 331855ef9c3b43c589c20dfd36659aebf1d68349a3167ee802a457780252d34e
MD5 94ca6eeb556a488bc262e2e76634257e
BLAKE2b-256 b4815f61e8f9e2c50c4a83b4a7d008d27bc7e7e551e91eac9d5a397a1d1fe987

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8eb341f4fb884e5724c924e1a8636af7138858803dcb090db1ebde7a0ccf6172
MD5 49b34983190d9373b2e611470ed797f5
BLAKE2b-256 e4823e2109e5ea167166ab5afab3bac84fa815ad02ccdfa062bb974caf8335d4

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pybluez2-0.45-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pybluez2-0.45-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 a4555c88a045f5e0826a2f51746c4cbd2c1b0e0c88c507dd0d79948704ffc129
MD5 f35cdb7a3a169bf7fe982ed9755c0595
BLAKE2b-256 11e2750f1b0615cf7fcb69d6dc968cd676ddeee1ca1ba4ee7f4a4c48c79c213b

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a41fc98a91022a53b3b00fa590ce1b849e00efed38103d3a6dfb74ae34bcbb6
MD5 52392a78cef8cb5376d26a3f39683cb7
BLAKE2b-256 5ff3e8aeb9c9d09ae51df6cf005541ebb494f6b9056c74c032649bc378cb56d6

See more details on using hashes here.

File details

Details for the file pybluez2-0.45-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pybluez2-0.45-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c43f8c71b0cd8de67a02a5485b8867329255e8b956e74fff7428b958ba4fadab
MD5 31155b13542ca89127c062b9ed12f204
BLAKE2b-256 c36bf53c1d769cc4096ff81789ce51a369179da449f23a300dbda810c634ffd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page