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.3.tar.gz
(3.7 kB
view details)
File details
Details for the file btpy-2.0.3.tar.gz
.
File metadata
- Download URL: btpy-2.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb16752b075ca575f18fd495bc9bb629c1b80649b1865a847d9e61f2a471692 |
|
MD5 | fdef3e5fcbc6bcf5372ad2eb49babb59 |
|
BLAKE2b-256 | 10df8b3c515c30070b927d86a0185b6a47763d6745db74d7b21fae7a258b19c8 |