Skip to main content

A Python3 interface to Bluetooth LE on Linux.

Project description

bluepy3

PyPI version Supported Python versions PyPI downloads Code style: Black

This is a Python3 library to allow communication with Bluetooth Low Energy devices on Linux.

Requirements

The code needs an executable bluepy3-helper to be compiled from C source. This is done automatically if you use the recommended pip installation method (see below). Otherwise, you can rebuild it using the Makefile in the bluepy3 directory.

Installation

To install the current released version, on most Debian-based systems:

sudo apt-get install python3-pip libglib2.0-dev
sudo pip3 install bluepy3

On Fedora do:

sudo dnf install python3-pip glib2-devel

If this fails you should install from source.

sudo apt-get install git build-essential libglib2.0-dev
git clone https://github.com/Mausy5043/bluepy3.git
cd bluepy3
..

It is recommended having command-line tools from BlueZ available for debugging. There are instructions for building BlueZ on the Raspberry Pi at http://www.elinux.org/RPi_Bluetooth_LE.

Documentation

Documentation can be built from the sources in the docs/ directory using Sphinx.

License

See LICENSE

Acknowledgements

This work builds on previous work by Ian Harvey and uses code by the BleuZ project (not a https site) and the more up-to-date BleuZ on GitHub

Original source code and documentation can be found at:
https://github.com/IanHarvey/bluepy
http://ianharvey.github.io/bluepy-doc/

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

bluepy3-0.0.8.tar.gz (409.4 kB view details)

Uploaded Source

Built Distribution

bluepy3-0.0.8-py3-none-any.whl (243.1 kB view details)

Uploaded Python 3

File details

Details for the file bluepy3-0.0.8.tar.gz.

File metadata

  • Download URL: bluepy3-0.0.8.tar.gz
  • Upload date:
  • Size: 409.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for bluepy3-0.0.8.tar.gz
Algorithm Hash digest
SHA256 aa3db797926d365189613bffad3c209710d9f2a4fddcd29a1a64a6007aa97f76
MD5 3577610c41604cde34caff00b9a55fd1
BLAKE2b-256 52962ba33f5f0c519014e546c825190566cbd24809a5f05aa628310d5e8ff536

See more details on using hashes here.

File details

Details for the file bluepy3-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: bluepy3-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 243.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for bluepy3-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2ec0b96e0ad6956169351b851e4fcd3dae0bdd285edf2e112559f08fb87754
MD5 8927a220acc4bc884e455892ccc7d229
BLAKE2b-256 6c5ed8621e4c6b952c8f2ff3fd4a5c8cd2f21fddbae56d28b412000a091b27c5

See more details on using hashes here.

Supported by

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