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.1.tar.gz
(3.2 kB
view details)
File details
Details for the file btpy-2.0.1.tar.gz
.
File metadata
- Download URL: btpy-2.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88d3769e10fd1cb8031755e22dd4a28e5bdb5faba64b7cd31918477b3630e3e |
|
MD5 | 146446970d27b45ffbe42aa879a17941 |
|
BLAKE2b-256 | beaf0caccd70adefbbabc29ca20aae4d4fa4d1c4a7deac2179890f39c2504af9 |