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.2.tar.gz
(3.2 kB
view details)
File details
Details for the file btpy-2.0.2.tar.gz
.
File metadata
- Download URL: btpy-2.0.2.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 | 84f3c1d86e1832a5cedf9c0ecc73086563b4666430c4553ca94842ca67ea44d3 |
|
MD5 | f3f261be0875e8ca0b685822ae264754 |
|
BLAKE2b-256 | b7cf7a97c00d2f3b3aca5f367381a89f45b1336310998b3b4bfdb709e49530c2 |