bluetooth library for beacons, classic and low-energy devices
Project description
btpy
this is a wrapper around
- bleak for low-energy support
- beacontools for beacon support
- bluez for classic support
how to ...
.. install
pip3 install btpy
# or (this is not guaranteed to be stable)
pip3 install git+https://github.com/nbdy/btpy
... to use it
from btpy import LEDevice, Beacon, ClassicDevice
le_results = LEDevice.scan(4)
beacon_results = Beacon.scan(5)
classic_results = ClassicDevice.scan(6)
TODO
- Tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
btpy-2.0.4.tar.gz
(3.8 kB
view details)
File details
Details for the file btpy-2.0.4.tar.gz
.
File metadata
- Download URL: btpy-2.0.4.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874181d0045f83e461ae937f07c19af724e91e169a1b17ea387e807178dd9c38 |
|
MD5 | 38d19abc2646fa0a863238f3e15e1884 |
|
BLAKE2b-256 | a312d51e4cd541adf496353c2b1099ac5b261eaa5d81ca28b54680c2184212a0 |